Closed
Bug 81066
Opened 24 years ago
Closed 24 years ago
backslash in javascript: url makes url do nothing
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: jruderman, Assigned: adamlock)
References
Details
None of these work in 051420 when typed into the location bar. No error
messages are shown on the JS console or the text console.
javascript:alert('a\nb');
javascript:"3\n<b> \n ".
javascript:alert(2); "a\nb"; alert(3);
javascript:3 \ 4 (should give an "illegal character" error message.)
Comment 1•24 years ago
|
||
Confirming bug with debug build 2001-05-15 WinNT. You get a nice
alertbox if you do javascript: alert('ab'); but you get nothing
if you do javascript:alert('a\nb');
In fact, you get an assertion that something in LoadURI failed.
No errors in JavaScript console.
Browser,not engine. Reassigning to Embedding:Docshell for
further analysis -
Assignee: rogerl → adamlock
Component: Javascript Engine → Embedding: Docshell
QA Contact: pschwartau → adamlock
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.2
It looks like some of the URI fixup code may be interfering with some of these
URIs, switching backslashes to forward slashes, misinterpretting them as file://
URLs etc.
The fix for bug 75063 should resolve most of these issues.
Examples all work now. Marking FIXED (by 75063)
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 5•24 years ago
|
||
Verified Fixed with debug builds 2001-05-17 on WinNT, Linux.
All the examples work -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•