SafeLine icon indicating copy to clipboard operation
SafeLine copied to clipboard

[Bug] 对于有多个点号命名的资源文件无法访问

Open geneives opened this issue 9 months ago • 1 comments

问题描述

对于有多个点号命名的资源文件将返回404 image

版本号

5.4.0

复现方法

任意访问一个有多个点号命名的资源文件即可重现

期望的结果

允许访问有多个点号命名的资源文件

geneives avatar Apr 27 '24 04:04 geneives

看起来是上游的 404, 和 waf 没关系

xbingW avatar May 21 '24 03:05 xbingW

可以去掉 WAF 直接访问这个 URL 试试,预期也是 404

zclaiqcc avatar May 23 '24 10:05 zclaiqcc

找到原因了,是上游服务器必须要使用gzip,我加入proxy_set_header accept-encoding gzip;就可以了

geneives avatar May 24 '24 03:05 geneives