[GH-ISSUE #349] Proxymane doesn't handle multiple www-authenticate headers on response #346

Closed
opened 2026-03-03 19:17:39 +03:00 by kerem · 5 comments
Owner

Originally created by @TingluoHuang on GitHub (Dec 5, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/349

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

1.10.0 (11000)

macOS Version? (Ex. mac 10.14)

10.15.1

Steps to reproduce

  • Close Proxyman: curl -D - https://tingweu.visualstudio.com/_apis/distributedtask/pools
    response headers contains 2 entries for www-authenticate
www-authenticate: Bearer authorization_uri=https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47
www-authenticate: Basic realm="https://tfsprodweu2.app.visualstudio.com/"
  • Open Proxyman: curl -k -x http://127.0.0.1:9090 -D - https://tingweu.visualstudio.com/_apis/distributedtask/pools
    response headers only contains 1 entry for www-authenticate
WWW-Authenticate: Basic realm="https://tfsprodweu2.app.visualstudio.com/"

Feels like there is a bug in the code that only take the last www-authenticate header. 😕

Expected behavior

With proxyman open, response header for www-authenticate should not change

Screenshots (optional)

Originally created by @TingluoHuang on GitHub (Dec 5, 2019). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/349 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 1.10.0 (11000) ### macOS Version? (Ex. mac 10.14) 10.15.1 ### Steps to reproduce - Close Proxyman: `curl -D - https://tingweu.visualstudio.com/_apis/distributedtask/pools` response headers contains 2 entries for `www-authenticate` ``` www-authenticate: Bearer authorization_uri=https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47 www-authenticate: Basic realm="https://tfsprodweu2.app.visualstudio.com/" ``` - Open Proxyman: `curl -k -x http://127.0.0.1:9090 -D - https://tingweu.visualstudio.com/_apis/distributedtask/pools` response headers only contains 1 entry for `www-authenticate` ``` WWW-Authenticate: Basic realm="https://tfsprodweu2.app.visualstudio.com/" ``` Feels like there is a bug in the code that only take the last `www-authenticate` header. 😕 ### Expected behavior With proxyman open, response header for `www-authenticate` should not change ### Screenshots (optional)
kerem 2026-03-03 19:17:39 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 6, 2019):

Hi there, It's definitely a critical bug. Thank for the report, I'm fixing it now and send you a hotfix build ASAP 👍

<!-- gh-comment-id:562427971 --> @NghiaTranUIT commented on GitHub (Dec 6, 2019): Hi there, It's definitely a critical bug. Thank for the report, I'm fixing it now and send you a hotfix build ASAP 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 6, 2019):

Hi @TingluoHuang, here is the BETA fix: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.10.0_Missing_Header_Keys.dmg

It should work and we will officially release in the next build 👍

Thank u for the bug report 🐛

<!-- gh-comment-id:562475326 --> @NghiaTranUIT commented on GitHub (Dec 6, 2019): Hi @TingluoHuang, here is the BETA fix: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.10.0_Missing_Header_Keys.dmg It should work and we will officially release in the next build 👍 Thank u for the bug report 🐛
Author
Owner

@TingluoHuang commented on GitHub (Dec 6, 2019):

Confirm the beta install fix my problem, feel free to close the issue

<!-- gh-comment-id:562686185 --> @TingluoHuang commented on GitHub (Dec 6, 2019): Confirm the beta install fix my problem, feel free to close the issue
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 7, 2019):

Good good, glad to hear that 🌮 🎄

<!-- gh-comment-id:562805553 --> @NghiaTranUIT commented on GitHub (Dec 7, 2019): Good good, glad to hear that 🌮 🎄
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 20, 2019):

Just friendly reminder that this bug is fixed in Proxyman 1.11.0, which we released yesterday.

Let update it 👏

https://proxyman.io/blog/2019/06/changelogs.html

<!-- gh-comment-id:567769072 --> @NghiaTranUIT commented on GitHub (Dec 20, 2019): Just friendly reminder that this bug is fixed in Proxyman 1.11.0, which we released yesterday. Let update it 👏 https://proxyman.io/blog/2019/06/changelogs.html
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/Proxyman#346
No description provided.