On 05/05/2010 02:28 PM, tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2010-05-05 14:28:17 +0200 (Wed, 05 May 2010)
> New Revision: 28726
>
> Modified:
>
> platform/web/branches/xwiki-web-2.3/standard/src/main/webapp/templates/commentsinline.vm
>
> platform/web/branches/xwiki-web-2.3/standard/src/main/webapp/templates/informationinline.vm
> Log:
> [misc] Fix XHTML validity
>
> Modified:
> platform/web/branches/xwiki-web-2.3/standard/src/main/webapp/templates/commentsinline.vm
> ===================================================================
> ---
> platform/web/branches/xwiki-web-2.3/standard/src/main/webapp/templates/commentsinline.vm
> 2010-05-05 12:27:21 UTC (rev 28725)
> +++
> platform/web/branches/xwiki-web-2.3/standard/src/main/webapp/templates/commentsinline.vm
> 2010-05-05 12:28:17 UTC (rev 28726)
> @@ -90,7 +90,7 @@
> #foreach($name in $request.getParameterNames())
> #set($queryString =
> "$!queryString&$name=$escapetool.url($request.get($name))")
> #end
> -
> $response.sendRedirect("$doc.getURL('view')?captchaAnswerWrong=1&$queryString");
> + $response.sendRedirect("$doc.getURL('view',
> "captchaAnswerWrong=1&$queryString")");
Are you sure this works? Looks like nested quotes which makes Velocity a
bit unhappy... Also the & is still unescaped.
$response.sendRedirect($doc.getURL('view',
"captchaAnswerWrong=1&$queryString"));
> #end
> $response.setContentLength(0)
> #stop
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs