snoopdave commented on code in PR #332:
URL: https://github.com/apache/roller/pull/332#discussion_r4608408523
##########
app/src/main/java/org/apache/roller/weblogger/ui/core/filters/LoadSaltFilter.java:
##########
@@ -32,11 +32,18 @@
*/
public class LoadSaltFilter implements Filter {
+ /** Roller UI static files, which never hold a form. */
+ static final String[] STATIC_PATHS = {"/roller-ui/styles/",
"/roller-ui/scripts/", "/roller-ui/images/"};
Review Comment:
**Important:** `/roller-ui/theme/` also contains static CSS and images. The
frontpage CSS requests images from that directory, and those requests still
reach `getSession(true)` through the `/roller-ui/*` mapping. Add
`/roller-ui/theme/` to `STATIC_PATHS` and cover it in the no-session test.
--
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]