Closed Bug 499675 Opened 16 years ago Closed 9 years ago

data: scheme should be case-insensitive

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

References

()

Details

Attachments

(2 files)

Although the IO service asks the data protocol handler to create a DATA: url it fails because the handler only searches for a data: scheme in lower case.
Odd, this works in 1.9a4, I wonder what changed...
Blocks: 391951
This saves poking holes in the string. (But you call StripWhitespace anyway...)
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #384396 - Flags: review?
Comment on attachment 384396 [details] [diff] [review] String API version Sigh. No thanks to :bienvenu :-(
Attachment #384396 - Flags: review? → review?(cbiesinger)
Attached patch Boring versionSplinter Review
(charset already uses PL_strcasestr)
Attachment #384397 - Flags: superreview?(cbiesinger)
Attachment #384397 - Flags: review?(cbiesinger)
Comment on attachment 384397 [details] [diff] [review] Boring version Can you add a test for this? Should be enough to just call newURI, right?
Attachment #384397 - Flags: superreview?(cbiesinger)
Attachment #384397 - Flags: superreview+
Attachment #384397 - Flags: review?(cbiesinger)
Attachment #384397 - Flags: review+
Comment on attachment 384396 [details] [diff] [review] String API version I prefer the other version
Attachment #384396 - Flags: review?(cbiesinger) → review-
Pushed changeset c68d36aeb5e3 to mozilla-central. (In reply to comment #5) > (From update of attachment 384397 [details] [diff] [review]) > Can you add a test for this? Should be enough to just call newURI, right? Whoops, I forgot to add this...
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: