[GH-ISSUE #421] --traffic-url中如果url中附带的有参数如?token=xxx会造成和bytes混在一起,--auth-url则不会,两个处理方法? #328

Closed
opened 2026-02-27 23:16:30 +03:00 by kerem · 2 comments
Owner

Originally created by @Shandawei on GitHub (Feb 21, 2021).
Original GitHub issue: https://github.com/snail007/goproxy/issues/421

--traffic-url中如果url中附带的有参数如?token=xxx会造成和bytes混在一起,--auth-url则不会,两个处理方法?

Expected Behavior

--traffic-url会像--auth-url一样自动处理后面附加的参数

Current Behavior

--traffic-url中如果url中附带的有参数如?token=xxx会造成和bytes混在一起

Possible Solution

和--auth-url一样进行处理

Steps to Reproduce

1.--traffic-url中url中附带的有参数如?token=xxx

Context (Environment)

  1. proxy version is : v?
  2. full command is :?
  3. system is :
  4. full log is: ?

Detailed Description

Possible Implementation

Originally created by @Shandawei on GitHub (Feb 21, 2021). Original GitHub issue: https://github.com/snail007/goproxy/issues/421 <!--- Provide a general summary of the issue in the Title above --> --traffic-url中如果url中附带的有参数如?token=xxx会造成和bytes混在一起,--auth-url则不会,两个处理方法? ## Expected Behavior <!--- Tell us what should happen --> --traffic-url会像--auth-url一样自动处理后面附加的参数 ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> --traffic-url中如果url中附带的有参数如?token=xxx会造成和bytes混在一起 ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 和--auth-url一样进行处理 ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.--traffic-url中url中附带的有参数如?token=xxx ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> 1. proxy version is : v? 1. full command is :? 1. system is : 1. full log is: ? <!--- Provide a general summary of the issue in the Title above --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Possible Implementation <!--- Not obligatory, but suggest an idea for implementing addition or change -->
kerem closed this issue 2026-02-27 23:16:30 +03:00
Author
Owner

@snail007 commented on GitHub (Feb 22, 2021):

在下个版本中已经修复。

<!-- gh-comment-id:783032341 --> @snail007 commented on GitHub (Feb 22, 2021): 在下个版本中已经修复。
Author
Owner

@Shandawei commented on GitHub (Feb 22, 2021):

@snail007 thanks.

<!-- gh-comment-id:783577191 --> @Shandawei commented on GitHub (Feb 22, 2021): @snail007 thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#328
No description provided.