-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Camunda can't map paths without a trailing slash #3889
Comments
HI @GabrielJuliao, Regarding the issue you were facing. We will try to reproduce it and check the root-cause. If you are up to providing a pull request, we will gladly accept it. In that case, please let me know by adding a comment here. I can assist you with questions if necessary. Cheers, |
Assigned to @tasso94 for prioritization. |
Hi @mboskamp, Thanks for root causing this and for providing solution ideas. Scheduled for one of the next patch releases and 7.21.0. |
trailing slashes work Related to #3889
@tasso94 raised the following points:
I removed the paths list in the filter and instead registered the filter for all the paths we want to redirect. |
Environment (Required on creation)
Camunda Spring Boot Starter
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
Camunda can't map paths without a trailing slash. The issue was found in an existing application, however, it can be reproduced with a freshly generated project. With the below configuration:
Observed Behavior (Required on creation)
As you can see below, if you don't send the request with a trailing slash, camunda can't map the path and returns a 404.
The following paths result in a 404 error:
Expected behavior (Required on creation)
Camunda handles the request regardless of the presence or absence of a trailing slash.
Root Cause (Required on prioritization)
Spring Boot 3 does not automatically match trailing slashes anymore, and the option to enable it is deprecated. See corresponding issue.
The registered filters and redirect mappings are registered for paths including the trailing slashes.
Solution Ideas
Tasks
The text was updated successfully, but these errors were encountered: