[Python-bugs-list] [ python-Bugs-644246 ] file URLs mis-handled by webbrowser

noreply@sourceforge.net noreply@sourceforge.net
Tue, 26 Nov 2002 09:53:21 -0800


Bugs item #644246, was opened at 2002-11-26 09:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=644246&group_id=5470

Category: Macintosh
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Jack Jansen (jackjansen)
Summary: file URLs mis-handled by webbrowser

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=644246&group_id=5470