Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15834

Regression after URI template support added to MockMvcResultMatchers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0 RC3
    • Fix Version/s: 5.0 RC4
    • Component/s: Test, Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      SPR-14790 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 SPR-15819.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rstoya05-aop Rossen Stoyanchev
                Reporter:
                rstoya05-aop Rossen Stoyanchev
                Last updater:
                St├ęphane Nicoll
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 2 weeks, 3 days ago