Closed xiaoqiaotq closed 2 years ago
springbot 2.6.6
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.6</version> <relativePath/> <!-- lookup parent from repository --> </parent>
// test curl curl --location --request GET 'localhost:9898/r/测试832878.tmp' // see below pic // first encode 测试832878.tmp --> %E6%B5%8B%E8%AF%95832878.tmp // second encode bug ?? %E6%B5%8B%E8%AF%95832878.tmp --> %25E6%25B5%258B%25E8%25AF%2595832878.tmp
Can't tell from the picture, I feel you should provide a minimal example.
Closing as a duplicate of spring-projects/spring-framework#27791
springbot 2.6.6
config
url path encode twice ,lead to fileResouce not found ,just need one