<div dir="ltr">For what it's worth, the url in the query section is used for redirection after shibboleth authentication at a large institution. I don't anticipate that changing. I do think, however, that what strikes me as an increasing preponderance of 'creative' url interpretation in the age of SAAS may make a case for greater control over the path/query/fragment portion of the url, whether or not that falls under the official heading of net/'url's. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 11:39 AM, Sam Tobin-Hochstadt <span dir="ltr"><<a href="mailto:samth@ccs.neu.edu" target="_blank">samth@ccs.neu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">First, I think in this particular case the RFCs agree with Evan here.<br>
In particular, see section 3.4 of RFC 3896:<br>
<a href="http://tools.ietf.org/html/rfc3986#section-3.4" target="_blank">http://tools.ietf.org/html/rfc3986#section-3.4</a> which defines query<br>
strings as containing a sequence of either 'pchar', "/" or "?", where<br>
'pchar' includes ":", ascii alphanumeric characters, "." and<br>
'sub-delims', which includes "=".<br>
<br>
Second, you (and I) may not like the specification style demonstrated<br>
in the URL spec, but that's the direction that a lot of web standards<br>
are going. You can see it in the HTML spec, too:<br>
<a href="http://www.w3.org/TR/html5/" target="_blank">http://www.w3.org/TR/html5/</a> . These are the specifications that<br>
implementors of web browsers and web servers are paying attention to<br>
and contributing to, and thus they're the ones we need to pay<br>
attention to.<br>
<span class="HOEnZb"><font color="#888888"><br>
Sam<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Jul 11, 2013 at 2:19 PM, Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>> wrote:<br>
> This debate is bigger than you and me, but I don't see a spec here. I<br>
> see a weird pseudo-code parsing algorithm with no specification. In<br>
> any case, the net/url module implements the RFCs. If those aren't what<br>
> you want, then it needs to be changed or a new module needs to be<br>
> implemented. Given the big different between the RFCs and this new<br>
> "specification", I gather there won't be a lot of shared code.<br>
><br>
> Jay<br>
><br>
> On Thu, Jul 11, 2013 at 12:16 PM, Sam Tobin-Hochstadt <<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a>> wrote:<br>
>> I'm not sure which spec you're looking at from there, but the URL spec<br>
>> that I linked to is the most current work on precisely specifying<br>
>> URLs.<br>
>><br>
>> On Thu, Jul 11, 2013 at 2:14 PM, Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>> wrote:<br>
>>> I'm looking at the spec: <a href="http://www.w3.org/Addressing/" target="_blank">http://www.w3.org/Addressing/</a><br>
>>><br>
>>> On Thu, Jul 11, 2013 at 11:59 AM, Sam Tobin-Hochstadt <<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a>> wrote:<br>
>>>> On Thu, Jul 11, 2013 at 1:46 PM, Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>> wrote:<br>
>>>>> On Wed, Jul 10, 2013 at 5:27 PM, Evan Donahue <<a href="mailto:emdonahu@gmail.com">emdonahu@gmail.com</a>> wrote:<br>
>>>>>> Hello, I am trying to use the racket networking libraries for a basic set of<br>
>>>>>> get and post requests. I need to send a url of the form:<br>
>>>>>><br>
>>>>>> <a href="http://foo.com/?url=http://bar.com?baz=1000" target="_blank">http://foo.com/?url=http://bar.com?baz=1000</a> (NOT form encoded)<br>
>>>>><br>
>>>>> As far as I can tell from URL specs, this is not a URL.<br>
>>>><br>
>>>> I don't think that's correct. In particular, see<br>
>>>> <a href="http://url.spec.whatwg.org/#query-state" target="_blank">http://url.spec.whatwg.org/#query-state</a> and step 3 there, as well as<br>
>>>> the definition on URL code point here:<br>
>>>> <a href="http://url.spec.whatwg.org/#url-code-points" target="_blank">http://url.spec.whatwg.org/#url-code-points</a> which includes all of the<br>
>>>> characters in Evan's query.<br>
>>>><br>
>>>> Sam<br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
>>> Assistant Professor / Brigham Young University<br>
>>> <a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
>>><br>
>>> "The glory of God is Intelligence" - D&C 93<br>
><br>
><br>
><br>
> --<br>
> Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
> Assistant Professor / Brigham Young University<br>
> <a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
><br>
> "The glory of God is Intelligence" - D&C 93<br>
</div></div></blockquote></div><br></div>