網頁

2019/11/11

Spring Boot Security The request was rejected because the URL was not normalized. 錯誤

今天在用Postman測試API時,出現The request was rejected because the URL was not normalized.錯誤。

造成錯誤的原因是url不正確,出現了重複的斜線//,例如
http://localhost:8080/mermber/all//
http://localhost:8080/mermber//all


參考:

沒有留言:

張貼留言