Bug 1032089 - HTTP authentication is buggy
Summary: HTTP authentication is buggy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-HTTP-Tiny
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://cpansearch.perl.org/src/DAGOLD...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-19 14:28 UTC by Petr Pisar
Modified: 2014-07-02 13:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 13:15:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1031990 0 unspecified CLOSED perl-HTTP-Tiny-0.038 is available 2021-02-22 00:41:40 UTC

Internal Links: 1031990

Description Petr Pisar 2013-11-19 14:28:58 UTC
0.034 introduced HTTP Basic authentication. Version 0.038 fixed accidential Authorization header rewrite, version 0.037 fixed escaping the credentials. These fixes should be fixed in F20:


0.038     2013-11-18 12:56:26 America/New_York

    [FIXED]

    - Fixed a bug where authentication parameters in the URL would override
      an existing Authorization header

0.037     2013-10-28 13:26:21 America/New_York

    [FIXED]

    - Basic authentication in the URL is now unescaped before being encoded
      into the authentication header

Comment 1 Petr Pisar 2013-11-19 14:35:53 UTC
Upstream commits:

commit 7bb424df183e34ee16de433cb1e8c18a74b4b6cb
Author: David Golden <dagolden>
Date:   Mon Oct 28 13:23:35 2013 -0400

    unescape any basic authentication stanza

commit 2897ea97557aac4d310912237b076dc1b40858e0
Author: David Golden <dagolden>
Date:   Mon Nov 18 12:45:06 2013 -0500

    fix basic auth in URL overriding existing auth header
    
    Basic authorization shouldn't be added if an authorization
    header exists.  The wrong header was being checked and this
    commit fixes that.

Comment 2 Fedora Update System 2013-11-19 15:24:10 UTC
perl-HTTP-Tiny-0.034-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-HTTP-Tiny-0.034-4.fc20

Comment 3 Fedora Update System 2013-12-14 03:33:13 UTC
perl-HTTP-Tiny-0.034-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.