Closed Bug 114660 Opened 23 years ago Closed 23 years ago

Refer: should not send data: URLs

Categories

(Core :: Networking: HTTP, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: neil, Assigned: darin.moz)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Testing my fix bug 95088 caused me to create large data: URL.
When I linked from that page to http://bugzilla.mozilla.org/query.cgi
I got an error because my http-referer was too big :-(
I don't think that data: urls should get referred.
agreed... this should be a trivial fix.  there is already a black list for URLs
that should not be sent as a referrer.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.8
Blocks: 95088
Attached patch v1.0 patchSplinter Review
adds data scheme to the list of URL schemes that cannot be sent as a http
Referer

also, cleans up the black list algorithm a bit.

gagan, can you please r= this patch?  thx!
Keywords: patch
Comment on attachment 61537 [details] [diff] [review]
v1.0 patch

r=gagan
Attachment #61537 - Flags: review+
Whiteboard: [need sr=]
Comment on attachment 61537 [details] [diff] [review]
v1.0 patch

sr=mscott
Attachment #61537 - Flags: superreview+
Whiteboard: [need sr=] → [ready to land]
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Blocks: 144766
VERIFIED: Mozilla 1.4a, Mac OS X and Win 98
QA Contact: tever → httpqa
Summary: data: URLs get sent as http-referer → Refer: should not send data: URLs
Whiteboard: [ready to land] → checklinux
VERIFIED: Mozilla 1.4b/Linux
Status: RESOLVED → VERIFIED
Whiteboard: checklinux
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: