mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-12 06:10:25 +08:00
修复访问控制后缓存Key包含认证参数的问题
This commit is contained in:
@@ -1172,7 +1172,7 @@ func (this *HTTPRequest) requestRemoteUser() string {
|
|||||||
|
|
||||||
// Path 请求的URL中路径部分
|
// Path 请求的URL中路径部分
|
||||||
func (this *HTTPRequest) Path() string {
|
func (this *HTTPRequest) Path() string {
|
||||||
uri, err := url.ParseRequestURI(this.rawURI)
|
uri, err := url.ParseRequestURI(this.uri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user