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

Regression after URI template support added to MockMvcResultMatchers [SPR-15834] #20389

spring-issuemaster opened this issue Jul 31, 2017 · 0 comments


None yet
2 participants
Copy link

commented Jul 31, 2017

Rossen Stoyanchev opened SPR-15834 and commented

#19356 added support for URI templates in MockMvcResultMatchers and as a consequence that encodes every expectedUrl value which previously were not. There is no need to change this existing behavior. Probably best to create a separate method explicitly named for use as a URI template so that you opt into the encoding. There is one comment under the ticket already.

Such a solution would also be aligned with a client side feature of the same kind under #20374.

Affects: 5.0 RC3

Issue Links:

  • #19356 Add support for URI templates in redirectedUrl() & forwardedUrl()
  • #20374 URI variables with MockRestRequestMatchers's requestTo

Referenced from: commits 9c3bd8c

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.