Closed Bug 1123509 Opened 10 years ago Closed 10 years ago

Stop using about:something style URLs

Categories

(Firefox for iOS :: General, defect)

x86
macOS
defect
Not set
normal

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=...
tracking-fennec: --- → ?
tracking-fennec: ? → +
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).
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.