I'm running into some issues with escaped HTML entities in my URI.
Example:
<html><body>
<script src="http://example.com/path/?a=1&amp;b=2";>
</body></html>

When Caja's ResolveUriStage resolves the source URL in our script
node, the "&amp;" gets rewritten to "&amp%3b".
I have narrowed the issue down to UriUtil#normalizeQuery (correctly)
escaping semicolon in query strings.

Should ResolveUriStage#resolveRelativeUrls be unescaping HTML entities
before calling UriUtil.resolve?

I am able to reproduce this issue using caja-r4209 with Shindig and on
http://caja.appspot.com

Thanks,
Chirag

Reply via email to