[racket-dev] DrRacket PF1 Search Bug?

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Nov 20 20:22:27 EST 2014

On Thu, Nov 20, 2014 at 7:51 PM, Stephen De Gabrielle
<spdegabrielle at gmail.com> wrote:
> in DrRacket:
>
>>  (send-url "file:///Users/spdegabrielle/hello.html?q=aaaba")
>
> works
>
>> (send-url "file:///Applications/hello.html?q=xyz")
>
> works

In that case I think that it's a different problem than what I
described.


>> (send-url
>> "file:///Applications/Racket%20v6.1.1.5/doc/search/index.html?q=xyzzzzz")
>
> fails

This is weird.  To debug it, the text thing I'd do is make that
/Applications/hello.html show the location string -- perhaps the browser
hides the query part.  Another thing to look into is the permissions of
the files -- maybe it descides to drop the query bit on a file that you
don't personally own.


> in bash:
>
> Miriams-MacBook-Pro-2:~ spdegabrielle$ open
> "file:///Users/spdegabrielle/hello.html?q=aaaa"
>
> fails

It shouldn't be `open' -- it's something with osascript.  (I don't
remember it now, but Robby had it in the other email.)


> I've just had a quick go at '(send-url/file ' but I cant remember how to
> escape the '?'

Should be something like

    (send-url/file "/Some/file.html" #:query "123")

but it's probably won't help to try it, since it uses the same
functionality as the above.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.