Closed
Bug 1123509
Opened 10 years ago
Closed 10 years ago
Stop using about:something style URLs
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1137051
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: st3fan, Unassigned)
Details
It seems NSURL cannot parse about:something style URLs such as about:reader?url=... This is a problem because it means we are feeding invalid URLs to a number of APIs such as webView.loadHTMLString() which could result in undefined behaviour.
As an alternative we could use something like about://reader?url=...
Updated•10 years ago
|
tracking-fennec: --- → ?
Updated•10 years ago
|
tracking-fennec: ? → +
Comment 1•10 years ago
|
||
Could we inspect the URLs ahead of time (that is, before turning NSStrings into NSURLs), and handle them independently if they're about:something?
I ask this having not even looked at the code (but having implemented a very simple WebKit-based browser in the past in iOS).
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•