On Thu, Nov 20, 2014 at 5:22 PM, Robby Findler <ro...@eecs.northwestern.edu> wrote: > Ah, thanks! I see that if it is trying to load the docs that are in > /Applications then it runs the code below, which somehow magically > drops the query argument by the time safari gets it. It's not because > of the space, either; when I rename "Racket v6.1.1.5" to just "r", it > also doesn't work. But if I change the path to one in my home > directory (just like the one you write below), then I see it works. > > Puzzling. It's almost like there is special handling for /Applications > instead of /Users.
Something that might be relevant here: on Windows, the query (?...) or fragment (#...) bits of a URL are dropped when you run them. That's why I made it use a "trampoline" file: it creates a small HTML file which can open fine, and that file redirects to the full URL. At some point, Linux joined this with "xdg-open" not passing along these things also, and needed a similar hack (which IIRC, wasn't done). So it might be that OSX is doing something similar now. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________ Racket Developers list: http://lists.racket-lang.org/dev