Skip to content

file URLs mis-handled by webbrowser #37540

Closed

Description

@reowen
mannequin
BPO 644246
Nosy @jackjansen

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 = 'https://github.com/jackjansen'
closed_at = <Date 2003-01-16.00:08:31.000>
created_at = <Date 2002-11-26.17:53:21.000>
labels = ['OS-mac']
title = 'file URLs mis-handled by webbrowser'
updated_at = <Date 2003-01-16.00:08:31.000>
user = 'https://bugs.python.org/reowen'

bugs.python.org fields:

activity = <Date 2003-01-16.00:08:31.000>
actor = 'jackjansen'
assignee = 'jackjansen'
closed = True
closed_date = None
closer = None
components = ['macOS']
creation = <Date 2002-11-26.17:53:21.000>
creator = 'reowen'
dependencies = []
files = []
hgrepos = []
issue_num = 644246
keywords = []
message_count = 2.0
messages = ['13466', '13467']
nosy_count = 2.0
nosy_names = ['jackjansen', 'reowen']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue644246'
versions = []

Activity

  1. reowen commented on Nov 26, 2002

    reowenmannequin
    MannequinAuthor

    file:/... URLs are not handled correctly by the webbrowser module on MacOS X (MacOS X 10.2.1, Python 2.2.2). There are two problems:

    • The file is opened by its creator (which might be a text editor), rather than the user's default web browser.
    • Even if the creator happens to be a web browser, any #anchor portion of the URL is ignored.

    This may be a MacOS X bug. The applescript "open location" also exhibits this behavior, as does the command-line "open -a icab file:/..." (where icab is just one example browser I've tried).

    -- Russell

  2. jackjansen commented on Jan 16, 2003

    @jackjansen
    Member

    Logged In: YES
    user_id=45365

    This is indeed an Apple bug, and there is no way in which we can fix it.

  3. transferred this issue fromon Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions