Skip to content

cookielib doesn't handle URLs with / in parameters #47954

@andyk

Description

@andyk
mannequin
BPO 3704
Nosy @gpshead, @orsenthil, @bitdancer
Files
  • cookielib.py: cookielib.py from 2.5.2 with my suggested fix
  • cookielib.diff: a diff generated from the above file
  • cookielib-querystring-fix.patch: patch with the fix and a unit test
  • issue3704-better_request_path.patch: Make request_path give us what we really want
  • issue3704.patch: request_path return value never includes query
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gpshead'
    closed_at = <Date 2010-07-25.20:00:15.971>
    created_at = <Date 2008-08-27.17:01:40.333>
    labels = ['type-bug', 'library']
    title = "cookielib doesn't handle URLs with / in parameters"
    updated_at = <Date 2010-07-25.20:00:15.970>
    user = 'https://bugs.python.org/andyk'

    bugs.python.org fields:

    activity = <Date 2010-07-25.20:00:15.970>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2010-07-25.20:00:15.971>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2008-08-27.17:01:40.333>
    creator = 'andyk'
    dependencies = []
    files = ['11271', '11282', '11283', '17187', '17285']
    hgrepos = []
    issue_num = 3704
    keywords = ['patch', 'needs review']
    message_count = 25.0
    messages = ['72035', '72066', '72724', '72726', '74824', '74827', '104803', '105407', '105424', '105433', '105458', '105459', '105460', '105500', '105501', '105535', '105549', '110684', '110799', '110806', '110837', '110944', '110984', '111463', '111556']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'jjlee', 'tseaver', 'orsenthil', 'andyk', 'r.david.murray', 'BreamoreBoy']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3704'
    versions = ['Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions