Spring 5.0.3 RequestRejectedException: The request was rejected because the URL was not normalized

前端 未结 7 597
梦谈多话
梦谈多话 2020-11-27 15:59

Not sure if this is a bug with Spring 5.0.3 or a new feature to fix things on my end.

After the upgrade, I am getting this error. Interestingly this error is only on

7条回答
  •  情歌与酒
    2020-11-27 16:27

    Once I used double slash while calling the API then I got the same error.

    I had to call http://localhost:8080/getSomething but I did Like http://localhost:8080//getSomething. I resolved it by removing extra slash.

提交回复
热议问题