Skip to content

urllib2/urllib.parse.splitport does not handle IPv6 correctly #62391

@jd

Description

@jd
mannequin
BPO 18191
Nosy @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka
Dependencies
  • bpo-20270: urllib.parse doesn't work with empty port
  • bpo-20271: urllib.parse.urlparse() accepts wrong URLs
  • Files
  • 0001-Make-urllib.parse.splitport-handle-IPv6-correctly.patch: Patch fixing urllib.parse.splitport
  • test_urlparse.diff: Revised test for urlparse
  • urllib.diff: Revised urllib
  • 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 = None
    closed_at = None
    created_at = <Date 2013-06-11.14:44:39.479>
    labels = ['type-bug', 'library']
    title = 'urllib2/urllib.parse.splitport does not handle IPv6 correctly'
    updated_at = <Date 2014-03-07.16:23:13.722>
    user = 'https://github.com/jd'

    bugs.python.org fields:

    activity = <Date 2014-03-07.16:23:13.722>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-06-11.14:44:39.479>
    creator = 'jd'
    dependencies = ['20270', '20271']
    files = ['30558', '31013', '31015']
    hgrepos = []
    issue_num = 18191
    keywords = ['patch']
    message_count = 9.0
    messages = ['190968', '191027', '191040', '191041', '191042', '193546', '193548', '208157', '212891']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'samwyse', 'doughellmann', 'jd', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18191'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions