-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove ResourceController mappigs with param useDefaultLabel #1643
Comments
After writing some samples, it appears that using the |
I was starting to use the the ResourceController for serving plain-text files, but it did not work. |
@dinhani no, this is to remove specific use of a query parameter named |
@spencergibb can I help with this task? |
@ThomasVitale sure |
@spencergibb I've just created a PR: #1728 |
ResourceController has multiple
@RequestMapping
s that would conflict, currently to avoid passing the label we use theuseDefaultLabel
request parameter to select. Starting with spring 5.3 this is no longer happening.Given
Calling
/foo/default/file.txt?useDefaultLabel
used to route to the later, now it routes to the former and produces an error because the file is treated as a label.The text was updated successfully, but these errors were encountered: