What is the best way to handle page-specific styles? I have a number of pages that use the same template but require slightly different CSS for styling certain elements on the page. In other systems I've worked with, this is usually done by having a CSS class specific to that page, however, I was cu...
I am getting below error multiple times in a day which causes my application monitoring to fail. Any idea what could be cause of this error 5.06.2015 23:49:27.427 *ERROR* [10.87.80.70 [1434430167423] POST /autodiscover/autodiscover.xml HTTP/1.1] org.apache.sling.servlets.post.impl.operations.Modify...
The stat file in my cache root is not getting updated with activation requests; therefore old pages are getting served from dispatcher. The time-stamp is not getting modified. I read a post somewhere that the osgi configuration jcr observation listener might be stuck; and restarting it might cause t...
How do I configure the domain of the URL returned by a blog entry's getEditUrl method? Currently, I get http://localhost:4503/content/blog/2015/06/my-post.html?blog=edit. As you can see, the domain of the URL is localhost, this presents a problem on my staging and production environments. Is there a...
http://www.abc.com/search-results.html?search-site=test&locale=en_US%22%3E%3Csvg+src%3DX+onload%3D%22prompt%28%27xss%27%29 I see a javacript alert coming up on the browser when i feed the above url due to XSS (cross-site scripting) vulnerability due to improper handling of provided URL parameters .p...
Hi,As I have tried to remove the specified mixin node type from a specific node using removeMixin(java.lang.String mixinName), I have seen following behavior in CQ5/AEM repository -1. It removes entire property (jcr:mixinTypes, Name[], mix:versionable) under that specific node in CQ5.4/CQ5.5 .2. But...
Hello Guys, I have a requirement where I need to add custom buttons on the Coral UI assets page and for them I also need to have new icon images. Can you please share some inputs on this?What should be the format of those images? SVG or base64 ? Has anyone tried doing this?Any kind of help is apprec...
In general case :-when user hits a page http://abc.com/content/abc/home.html and has a comment section on the page. If user posts a comment then it would get stored in /content/usergenerated/content/abc/home nodeCurrent situation:-we have a redirect rule in dispacther that when user hits the http://...