Skip to content

urllib.request.urlopen does not handle non-ASCII characters #48241

Closed
@abadger

Description

@abadger
mannequin
BPO 3991
Nosy @orsenthil, @vstinner, @devdanzin, @ezio-melotti, @abadger, @bitdancer, @vadmium, @remilapeyre
Dependencies
  • bpo-9679: unicode DNS names in urllib, urlopen
  • Files
  • non_ascii_path.diff: Calls quote() on the request path if path.encode('ascii') fails
  • issue3991.diff
  • issue3991_2017-01-27.diff: Diff against 3.7.0a0
  • 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 2008-09-28.18:47:16.056>
    labels = ['extension-modules', '3.8', 'type-bug', '3.7', 'easy']
    title = 'urllib.request.urlopen does not handle non-ASCII characters'
    updated_at = <Date 2019-02-20.20:02:12.619>
    user = 'https://github.com/abadger'

    bugs.python.org fields:

    activity = <Date 2019-02-20.20:02:12.619>
    actor = 'remi.lapeyre'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2008-09-28.18:47:16.056>
    creator = 'a.badger'
    dependencies = ['9679']
    files = ['12986', '29194', '46440']
    hgrepos = []
    issue_num = 3991
    keywords = ['patch', 'easy']
    message_count = 14.0
    messages = ['73982', '74046', '74053', '74085', '74088', '74110', '74117', '81423', '182785', '219325', '285721', '286386', '286423', '286444']
    nosy_count = 11.0
    nosy_names = ['janssen', 'orsenthil', 'vstinner', 'ajaksu2', 'ezio.melotti', 'a.badger', 'r.david.murray', 'martin.panter', 'thezulk', 'Graham.Oliver', 'remi.lapeyre']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3991'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docsDocumentation in the Doc direasy

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions