mraible opened a new pull request, #398:
URL: https://github.com/apache/roller/pull/398

   This is the master side of #397. On the Edit Entry page, the sidebar's 
"Comments [n]" link goes to Permission Denied.
   
   The URL is built with `<s:url>`, which writes `&` as `&amp;`. It's then 
passed to `<s:text>`, and UIAction escapes that string argument again. The 
browser gets `&amp;` in the URL, so `weblog` is lost.
   
   The URL now uses `escapeAmp="false"`, so it's escaped once, the way master's 
media pages already build theirs.
   
   `JspOutputEncodingTest` gets a new check: an `<s:url>` with more than one 
parameter, written through `<s:property>` or an `<s:param>`, has to use 
`escapeAmp="false"`. On master, only this link failed it.
   
   Tested with 1,027 unit tests passing, then on Jetty with Playwright: the 
comments link opens that entry's comments with no console errors.
   
   There's no CHANGES entry: 7.0.0 hasn't been released, so this fixes a bug 
nobody has shipped.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to