Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-2466: CSRF MultipartFilter documentation should use <url-pattern> #2687

Closed
spring-issuemaster opened this issue Jan 22, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link

commented Jan 22, 2014

Per Holmberg (Migrated from SEC-2466) said:

In the Spring Security Reference documentation, section 6.5.4. Multipart (file upload), this is part of an example:

<filter-mapping>
    <filter-name>MultipartFilter</filter-name>
    <servlet-name>/*</servlet-name>
</filter-mapping>

I assume this should be:

<filter-mapping>
    <filter-name>MultipartFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

Otherwise the filter is not invoked.

@spring-issuemaster

This comment has been minimized.

Copy link
Author

commented Jan 28, 2014

Rob Winch said:

Thanks for the report. This has been fixed and pushed to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.