This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: file URLs mis-handled by webbrowser
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, reowen
Priority: normal Keywords:

Created on 2002-11-26 17:53 by reowen, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg13466 - (view) Author: Russell Owen (reowen) Date: 2002-11-26 17:53
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
msg13467 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-01-16 00:08
Logged In: YES 
user_id=45365

This is indeed an Apple bug, and there is no way in which we can fix it.
History
Date User Action Args
2022-04-10 16:05:56adminsetgithub: 37540
2002-11-26 17:53:21reowencreate