Closed Bug 302591 Opened 19 years ago Closed 19 years ago

-remote openURL fails if protocol not included

Categories

(Toolkit :: Startup and Profile System, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 290782

People

(Reporter: ajschult784, Unassigned)

Details

If the openURL is used and passed a hostname or a URL without a protocol in
general, firefox fails to handle it.

% firefox -remote "openURL(www.mozilla.org)"
Error: Failed to send command: 500 command not parseable

http://lxr.mozilla.org/mozilla/source/browser/components/nsBrowserContentHandler.js#195

assumes cmdLine.resolveURI will "work".  xremote code in xpfe jumps through
hoops if the string doesn't resolve to a URI and passes it on as-is.

http://lxr.mozilla.org/seamonkey/source/xpfe/components/xremote/src/XRemoteService.cpp#594

This worked in Firefox 1.0, so it will appear as a regression to upgrading linux
users.  I don't know if external programs depend on this or not.
This is a dupe of bug 290782, no?
hmm, yes

*** This bug has been marked as a duplicate of 290782 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.