Skip to content

urllib.parse.urlparse() accepts wrong URLs #64470

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 20271
Nosy @gvanrossum, @orsenthil, @vadmium, @serhiy-storchaka, @1st1, @demianbrecht, @tirkarthi
Dependencies
  • bpo-20270: urllib.parse doesn't work with empty port
  • Files
  • urlparse.patch
  • urlparse_2.patch
  • 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 2014-01-15.12:32:09.899>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'urllib.parse.urlparse() accepts wrong URLs'
    updated_at = <Date 2022-01-17.12:57:05.760>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2022-01-17.12:57:05.760>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-01-15.12:32:09.899>
    creator = 'serhiy.storchaka'
    dependencies = ['20270']
    files = ['34300', '38322']
    hgrepos = []
    issue_num = 20271
    keywords = ['patch']
    message_count = 14.0
    messages = ['208156', '208675', '209852', '212888', '212889', '212890', '236990', '237001', '237157', '237369', '237371', '238982', '338974', '355315']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'orsenthil', 'martin.panter', 'serhiy.storchaka', 'yselivanov', 'demian.brecht', 'xtreak']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20271'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard 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