[hunchentoot-devel] create-folder-dispatcher-and-handler question

i try to use the create-folder-dispatcher-and-handler handler. i creates like this : [...] (list (hunchentoot:create-folder-dispatcher-and-handler "/ernestine-radio/music/" *music-directory*)) [...] *music-directory* corresponds to /opt/music/ so i make 2 http requests. The first failed : [2007-05-07 17:53:41] 82.225.177.13 - "GET /ernestine-radio/music//f/Fatboy_Slim/Better%20Living%20Through%20Chemistry/10%20-%20The%20Sound%20Of%20Milwaukee.mp3 HTTP/1.1" 404 412 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" The second works well : [2007-05-07 17:53:55] 82.225.177.13 - GET /ernestine-radio/music//b/Black_Rebel_Motorcycle_Club/BRMC/09.Spread_Your_Love.mp3 HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11 ; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" i think the problem comes from the space in the name. my requests are like this : http://perave.dyndns.org:9090/ernestine-radio/music//f/Fatboy_Slim/Better Living Through Chemistry/10 - The Sound Of Milwaukee.mp3 the second : http://perave.dyndns.org:9090/ernestine-radio/music//b/Black_Rebel_Motorcycl... so the second works well, not the first. if i try to url encode the 2 requests, neither the one neither the second works. Someone have any idea ? Thanks for your help. -- Nicolas Lamirault

On Mon, 07 May 2007 18:01:42 +0200, Nicolas Lamirault <lam@tuxfamily.org> wrote:
i think the problem comes from the space in the name.
Yes. Seems this is a bug which was already in TBNL. The new release hopefully fixes that. Thanks for the report, Edi.

hi, Edi Weitz <edi@agharta.de> writes:
On Mon, 07 May 2007 18:01:42 +0200, Nicolas Lamirault <lam@tuxfamily.org> wrote:
i think the problem comes from the space in the name.
Yes. Seems this is a bug which was already in TBNL. The new release hopefully fixes that.
Yes ! Thanks for your great work ! My problem is solved.
Thanks for the report, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
-- Nicolas Lamirault
participants (2)
-
Edi Weitz
-
Nicolas Lamirault