|
@@ -294,7 +294,7 @@ func (engine *Engine) handleHTTPRequest(context *Context) {
|
|
|
return
|
|
return
|
|
|
|
|
|
|
|
} else if httpMethod != "CONNECT" && path != "/" {
|
|
} else if httpMethod != "CONNECT" && path != "/" {
|
|
|
- if tsr && engine.RedirectFixedPath {
|
|
|
|
|
|
|
+ if tsr && engine.RedirectTrailingSlash {
|
|
|
redirectTrailingSlash(context)
|
|
redirectTrailingSlash(context)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|