closes 5254: %COL% should be a common placeholder

This commit is contained in:
Deng Ming
2023-06-20 17:18:21 +08:00
parent bc7f6ffa1a
commit 3673a322a6
4 changed files with 46 additions and 3 deletions

View File

@@ -39,12 +39,12 @@ func serverStaticRouter(ctx *context.Context) {
return
}
forbidden, filePath, fileInfo, err := lookupFile(ctx)
fbd, filePath, fileInfo, err := lookupFile(ctx)
if err == errNotStaticRequest {
return
}
if forbidden {
if fbd {
exception("403", ctx)
return
}