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

   Follows up #308 from review.
   
   `MediaResourceServlet` loaded the file and its content with 
`getMediaFile(id, true)` and only then checked its weblog. It now looks the 
file up with `getMediaFile(weblog, id)`, which finds only files in the weblog 
named in the address, and loads the content only after that.
   
   Tests: `MediaResourceServletTest` now also checks that a file requested at 
another weblog's address is never loaded.
   


-- 
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