半猫Coder

Results 3 comments of 半猫Coder

看代码里就是 switch case 啊,很朴素但是很简单

> I encountered a similar problem. I modified the source code, changed the thread context class loader to SpringBoot's class loader, and then solved the problem > > ```java >...

另外在 SpringBoot 3.0.4 中修复这个BUG的方式,虽然也是通过 `URLDecoder.decode` 进行解码,但是在解码之前他先将路径中的空格替换为 `%20` 字符,这个行为我不理解,为什么需要这一步,想请教下大佬有没有思路? 源码定位:`org.springframework.core.io.support.PathMatchingResourcePatternResolver#convertClassLoaderURL` ![image](https://user-images.githubusercontent.com/61542300/225560522-d7e1754f-60b3-44a9-a46c-6557b888dc0c.png)