This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22945 - "If c is "?", set url's query to the empty strin..."
Summary: "If c is "?", set url's query to the empty strin..."
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 21:51 UTC by Ian 'Hixie' Hickson
Modified: 2013-08-15 09:50 UTC (History)
3 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-08-13 21:51:07 UTC
http://url.spec.whatwg.org/#parsing scheme data state:

[[
If c is "?", set url's query to the empty string and state to query state.
]]

This seems incompatible with data: processing. These seem to do the same thing:

   data:,test?test
   data:,test%3ftest
Comment 1 Simon Pieters 2013-08-14 07:28:29 UTC
It's not incompatible if the data: processing layer joins the scheme data and the query.
Comment 2 Anne 2013-08-14 09:35:14 UTC
Right (plus adds a ? in between).
Comment 3 Ian 'Hixie' Hickson 2013-08-14 20:19:44 UTC
Ok, but where is that defined?
Comment 4 Anne 2013-08-15 09:49:32 UTC
In http://simonsapin.github.io/data-urls/
Comment 5 Anne 2013-08-15 09:50:29 UTC
Which is linked from http://fetch.spec.whatwg.org/ so I think all is connected.