Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix signature generation when using a proxy server in boto/auth.py #1076

Merged
merged 1 commit into from Oct 24, 2012

Commits on Oct 23, 2012

  1. Update boto/auth.py

    When using a proxy server AWSAuthConnection.build_base_http_request will modify the http_request.path to include the host header.  It caches the original path in the auth_path field so that the signature can be later correctly generated. 
    
    Both the HMACAuthV3HTTPHandler and HMACAuthV4HTTPHandler signature generation methods in auth.py look at the original path and not auth_path which means boto will generate an incorrect signature when using a proxy server.
    
    This patch updates those signature generation methods to use auth_path instead of path.
    g2harris committed Oct 23, 2012
    Copy the full SHA
    b6d9db6 View commit details
    Browse the repository at this point in the history