- From: <bugzilla@jessica.w3.org>
- Date: Tue, 03 Dec 2013 23:46:17 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23946 Jonas Sicking <jonas@sicking.cc> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonas@sicking.cc --- Comment #10 from Jonas Sicking <jonas@sicking.cc> --- (In reply to Anne from comment #8) > (In reply to Boris Zbarsky from comment #5) > > data: doesn't support a query section. Simple testcase: > > > > data:text/html,<script>alert(location.search)</script>aaa?bbb > > > > Shows "aaa?bbb" as the text in browsers and alerts empty string. > > Alerts "?bbb" in Safari and per http://url.spec.whatwg.org/ That seems like a very bad idea. Treating "?" in a data URL seems surprising and a source of subtle bugs. It seems much less useful to be able to pass "search" parameters to a page by prepending "?..." to a data: URL than to be able to use '?' characters inside the URL itself. However I think data-URLs are special (probably together with javascript URLs). I have no problem with supporting query parameters in data URLs. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 3 December 2013 23:46:20 UTC