Closed
Bug 191207
Opened 22 years ago
Closed 21 years ago
meta http-equiv="refresh" with illegal URL incompatible with IE
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: RalfPeter.Rohbeck, Assigned: adamlock)
References
()
Details
Attachments
(1 file)
1.60 KB,
patch
|
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021212 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021212 Not really a bug but an incompatibility with IE: <meta http-equiv="refresh" content="3;url=mozredir 2.html"> will not open 'mozredir%202.html' but 'mozredir'. Unfortunately, file names with embedded spaces are popular in Windoze/IE dominated Intranets like ours :( Reproducible: Always Steps to Reproduce: 1. Open http://us.geocities.com/rohbeck/mozredir1.html Actual Results: Mozilla redirects to http://us.geocities.com/rohbeck/mozredir Expected Results: IE redirects to http://us.geocities.com/rohbeck/mozredir%202.html (doesn't exist either because Geocities doesn't allow space in file name)
Comment 1•22 years ago
|
||
-> docshell
Assignee: darin → adamlock
Component: Networking: HTTP → Embedding: Docshell
QA Contact: httpqa → adamlock
Problem was that the URL parser in the meta refresh stopped at the first whitespace. I've changed the loop to carry on.
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 118948 [details] [diff] [review] Patch Requesting r/sr on another meta refresh issue. This patch parses to the end of the string or the closing quotation mark so that URLs containing spaces are caught.
Attachment #118948 -
Flags: superreview?(bzbarsky)
Attachment #118948 -
Flags: review?(jaggernaut)
Comment 4•21 years ago
|
||
Comment on attachment 118948 [details] [diff] [review] Patch >+ if (isQuotedURI && *iter == '"' || *iter == '\'') && has higher precedence than || does. You need parens here. sr=bzbarsky with that change.
Attachment #118948 -
Flags: superreview?(bzbarsky) → superreview+
Comment 5•21 years ago
|
||
Comment on attachment 118948 [details] [diff] [review] Patch sr=alecf
Fix is checked in with parens fix.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #118948 -
Flags: review?(jaggernaut)
You need to log in
before you can comment on or make changes to this bug.
Description
•