springboot解决Invalid character found in the request target 异常

发布时间 2023-12-07 09:26:26作者: 常乐°

源自: https://mp.weixin.qq.com/s?__biz=MzAxMjY5NDU2Ng==&mid=2651866587&idx=1&sn=adb24cc2766eefccc72efba8aba9d259&chksm=80490092b73e898471a0b31e7ae19db4aee5e91fe3ef2ad223790cf9cad3c9d2fabdb0027da4&scene=27  

 

大佬的方法很管用,大家如果SpringBoot版本过高。前后端调用数据导致URL解析不正常的可以看看这个方法。在此引用。