Skip to content

urllib.parse.unquote raises incorrect errormessage when string parameter is bytes #76679

Closed
@stein-k

Description

@stein-k
mannequin
BPO 32498
Nosy @ncoghlan, @taleinat, @bitdancer, @stein-k, @tirkarthi, @nanjekyejoannah, @iritkatriel
PRs
  • bpo-32498: urllib.parse.unquote accepts bytes #7768
  • [3.8] bpo-32498: Improve exception message on passing bytes to urllib.parse.unquote #22746
  • Files
  • urllib_parse_unquote_handle_bytes.patch: Patch adding support for bytes as input to unquote
  • urllib_parse_unquote_handle_bytes_test.patch: Added test for unquote with bytes input
  • 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 = <Date 2020-10-18.21:07:57.854>
    created_at = <Date 2018-01-05.19:15:10.350>
    labels = ['easy', '3.8', 'type-bug', 'library', '3.9']
    title = 'urllib.parse.unquote raises incorrect errormessage when string parameter is bytes'
    updated_at = <Date 2020-10-18.21:07:57.854>
    user = 'https://github.com/stein-k'

    bugs.python.org fields:

    activity = <Date 2020-10-18.21:07:57.854>
    actor = 'taleinat'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-18.21:07:57.854>
    closer = 'taleinat'
    components = ['Library (Lib)']
    creation = <Date 2018-01-05.19:15:10.350>
    creator = 'stein-k'
    dependencies = []
    files = ['47395', '47397']
    hgrepos = []
    issue_num = 32498
    keywords = ['patch', 'newcomer friendly']
    message_count = 19.0
    messages = ['309517', '309524', '309566', '309625', '309633', '309641', '309657', '310252', '310370', '319814', '321286', '354468', '354624', '354625', '378784', '378858', '378870', '378898', '378899']
    nosy_count = 7.0
    nosy_names = ['ncoghlan', 'taleinat', 'r.david.murray', 'stein-k', 'xtreak', 'nanjekyejoannah', 'iritkatriel']
    pr_nums = ['7768', '22746']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32498'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only security fixeseasystdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions