2010/8/9 Chirag <[email protected]>: > I'm running into some issues with escaped HTML entities in my URI. > Example: > <html><body> > <script src="http://example.com/path/?a=1&b=2"> > </body></html> > > When Caja's ResolveUriStage resolves the source URL in our script > node, the "&" gets rewritten to "&%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?
Yes. Definitely. And reescaping afterwards. > I am able to reproduce this issue using caja-r4209 with Shindig and on > http://caja.appspot.com > > Thanks, > Chirag
