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

   `LoadSaltFilter` runs for every request under `/roller-ui`, except weblog 
rendering requests. So an anonymous visitor's request for a stylesheet, script 
or image under `/roller-ui/styles`, `/roller-ui/scripts` or `/roller-ui/images` 
started a session (a `JSESSIONID` cookie) and added an unused form salt to the 
salt cache. It now skips those paths, as it skips `/roller-ui/rendering/`.
   
   Together with #300, which takes those paths out of the Spring Security 
chain, Roller's UI static files can be cached.
   
   - `LoadSaltFilterTest` checks that the three kinds of static file get no 
session and no salt; other `/roller-ui` pages still do.
   - On `jetty:run`, `roller.css`, `date-fields.js` and `feather.svg` come back 
without `Set-Cookie`, while the login page still sets one.
   - `mvn test` passes (750 tests).
   


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