Skip to content

AzCopy Includes : in Proxy-Authorization header when there is no password #1473

Open
@MRayermannMSFT

Description

@MRayermannMSFT

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument

10.10

Which platform are you using? (ex: Windows, Mac, Linux)

Windows

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

Any command.

What problem was encountered?

Proxy environment variable (HTTP_PROXY) was not respected properly.

How can we reproduce the problem in the simplest way?

  1. Use fiddler as a proxy
  2. Set value of HTTP_PROXY to be like http://myUser@localhost:8888
  3. Check the value of the proxy auth header

Expected: Proxy-Authorization: Basic bXlVc2Vy
Actual: Proxy-Authorization: Basic bXlVc2VyOg==

Have you found a mitigation/solution?

No. 😭

Additional context

This discovery comes while investigating this requirement from a customer of Azure Storage Explorer. See here: microsoft/AzureStorageExplorer#4430

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions