[racket-dev] [plt] Push #27093: master branch updated

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Fri Jul 5 21:19:39 EDT 2013

On Fri, Jul 5, 2013 at 9:14 PM, Eli Barzilay <eli at barzilay.org> wrote:
> 10 minutes ago, Sam Tobin-Hochstadt wrote:
>> On Fri, Jul 5, 2013 at 8:21 PM,  <eli at racket-lang.org> wrote:
>> > +  ;; The following two tests are not really correct: they rely on the URL
>> > +  ;; decoding silently passing un-encoded text as is instead of barfing.  (Eg,
>> > +  ;; using these URLs in a browser and then copy-pasting it from the address
>> > +  ;; should get you a properly encoded string instead.)
>> This parenthetical is not really correct.  In particular, you cannot
>> rely on what's displaying in the browser address bar to be a
>> correctly-encoded URL -- the address bar is part of the user
>> interface, and not a reflection of the internal state.
> It doesn't talk about what is displayed.

Your message explicitly says "copy-pasting [the url] from the address
bar".  My point is that the address bar and its contents are *not* the
internal state of the decoded URL.


Posted on the dev mailing list.