[racket-dev] [plt] Push #27093: master branch updated
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.
> For some discussion on this point, see this thread:
> https://groups.google.com/d/topic/mozilla.dev.platform/V0XjJ-uQbcI/discussion
>
> In general, the whole URL parser should probably be changed/re-written
> to follow http://url.spec.whatwg.org/ but that's a longer-term
> project.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!