Hi All,
We are trying to address a weird problem. Suggestions are welcome. We have a custom component (Social Share) that does not show up correctly in Production Publish instance only. In all other environments DEV, QA the component works as expected across both author and publish instances.
Production instance is managed by another team and we have very limited access to it. So currently it seems like shooting arrows in the dark.
On author the DOM markup produced by the component is as follows:-
<a href="http://www.facebook.com/share.php?u=http%3A//www.xyz.com/path/to/current/page.html" target="_self" title=""><img src="/etc/designs/xyz/images/facebook.gif"></a>
Instead what we are getting in publish is as follows:-
<a href="https://forums.adobe.com/path/to/current/page.html" target="_self" title=""><img src="/etc/designs/xyz/images/facebook.gif"></a>
We are not sure what the issue might be. The component is working but generated html output is different between author and publish and that too only on PROD. Could anybody point to any service that might interfere with output html?
AEM version in use "6.0 SP2".
- Ashish
Solved! Go to Solution.
Views
Replies
Total Likes
This looks like it may be some sort of customization that accounts for this. OOTB - this does not make sense. That is - if it works on other AEM instances - it will work on PUB instance - assuming no custom changes were made.
Views
Replies
Total Likes
Have there been any customizations to the XSS protection configuration that maybe didn't make it to the production server?
Views
Replies
Total Likes
This looks like it may be some sort of customization that accounts for this. OOTB - this does not make sense. That is - if it works on other AEM instances - it will work on PUB instance - assuming no custom changes were made.
Views
Replies
Total Likes
Thanks for the reply,
- Ashish
Views
Replies
Total Likes
I also suspect the same but cannot pinpoint the cause unfortunately. The last bit is confusing where it works on DEV publishers but generates different mark up on PROD publishers. Clearly some other service is coming in the way of this component's output.
- Ashish
Views
Replies
Total Likes
Just wondering, can it be because of rewrite rules you have setup.
Views
Replies
Total Likes
@edubey: Which rewrite rules do you mean?
I have already checked any applied resource resolver rules and there are none being applied.
Only other rewrite rules would be in web server layer which again seems unlikely. I do not believe Apache has been configured to modify the DOM.
- Ashish
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies