Skip to content

mimetypes.guess_type("//example.com") misinterprets host name as file name #66543

Closed
@vadmium

Description

@vadmium
BPO 22347
Nosy @ned-deily, @vadmium, @maxking, @corona10, @miss-islington
PRs
  • bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs #15522
  • [3.8] bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs (GH-15522) #15685
  • [3.7] bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs (GH-15522) #15687
  • bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" #16724
  • [3.7] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" (GH-16724) #16725
  • [3.7] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15685)" (GH-16724) #16727
  • [3.8] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15685)" (GH-16724) #16728
  • Dependencies
  • bpo-35939: Remove urllib.parse._splittype from mimetypes.guess_type
  • Files
  • mimetypes-host.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-09-06.02:52:37.225>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'mimetypes.guess_type("//example.com") misinterprets host name as file name'
    updated_at = <Date 2019-10-15.07:30:25.613>
    user = 'https://github.com/vadmium'

    bugs.python.org fields:

    activity = <Date 2019-10-15.07:30:25.613>
    actor = 'ned.deily'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-09-06.02:52:37.225>
    creator = 'martin.panter'
    dependencies = ['35939']
    files = ['38222']
    hgrepos = []
    issue_num = 22347
    keywords = ['patch']
    message_count = 15.0
    messages = ['226467', '236479', '335123', '351156', '351157', '351158', '351162', '351164', '351167', '354471', '354521', '354535', '354538', '354543', '354697']
    nosy_count = 5.0
    nosy_names = ['ned.deily', 'martin.panter', 'maxking', 'corona10', 'miss-islington']
    pr_nums = ['15522', '15685', '15687', '16724', '16725', '16727', '16728']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22347'
    versions = ['Python 3.7', 'Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixesstdlibPython 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