AI OnAI Off
The problem is most likely not the rewriter in this case but the HTML parser used under the hood that parses the HTML, and that one is much harder to have ignore something. You can drop a support case to Developer Support to get a bug report in.
Hi,
One way to get around this, is to serve the script from a handler and with a content type that the HTML parser module doesn't pick up.
Per, I'll do that.
Johan. Good point, unfortunately in this case the script is an embeded resource from a third party vendor.
Thank you both!
Hi,
I'm having some trouble with what seems to be FriendlyUrlRewriteProvider and an embeded javascript resource in a third party component.
The problem is that url rewriting seem to be replacing parts of the javascript. The original script looks like this:
But when using the FriendlyUrlRewriteProvider, the same javascript is replaced with:
I even tried putting the javascript in a vanilla CMS 6 R2 site using the Alloy Tech templates like this:
And the same thing is happening.
Using the NullUrlRewriteProvider, the javascript is working.
Is there any way I can get the FriendlyUrlRewriteProvider to ignore the javascript?
Regards,
Christofer