Spring MVC @PathVariable with dot (.) is getting truncated

后端 未结 17 1560
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 06:00

This is continuation of question Spring MVC @PathVariable getting truncated

Spring forum states that it has fixed(3.2 version) as part of ContentNegotiationManager.

17条回答
  •  无人共我
    2020-11-22 06:54

    If you write both back and frontend, another simple solution is to attach a "/" at the end of the URL at front. If so, you don't need to change your backend...

    somepath/myemail@gmail.com/
    

    Be happy!

提交回复
热议问题