spring-projects / spring-projects/spring-session

Is it possible to exclude some url from the SessionRepositoryFilter

Open
#244 24 comments 9 reactions 1 assignee View on GitHub

@rwinch is already working on this.

Since Jun 10, 2025.

in: core status: feedback-provided type: enhancement
Dominant language
Java
Stars
1.9k
Forks
1.2k
Avg merge
4h 27m
Merged PRs (30d)
55

Description

Hi,

I noticed that the SessionRepositoryFilter is active for all url of the application. Even for images, scripts, stylesheets etc...
Is it possible to add a settings in order to exclude some patterns ?

Bye,
Hugo

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.