On Fri, Jul 5, 2013 at 9:14 PM, Eli Barzilay <e...@barzilay.org> wrote: > 10 minutes ago, Sam Tobin-Hochstadt wrote: >> On Fri, Jul 5, 2013 at 8:21 PM, <e...@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. Sam _________________________ Racket Developers list: http://lists.racket-lang.org/dev