mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Fixing index file handling to take the index relative to the url, not the search path.
This commit is contained in:
parent
6319d11291
commit
ed458469a7
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@
|
||||||
=> (lambda (index-file)
|
=> (lambda (index-file)
|
||||||
;; Generate and restart a new request with explicit index file.
|
;; Generate and restart a new request with explicit index file.
|
||||||
(let* ((uri (request-uri request))
|
(let* ((uri (request-uri request))
|
||||||
(path2 (make-path (uri-path uri) index-file)))
|
(path2 (make-path (uri-path uri)
|
||||||
|
(path-strip-directory index-file))))
|
||||||
(restart
|
(restart
|
||||||
(request-with-uri request (uri-with-path uri path2))))))
|
(request-with-uri request (uri-with-path uri path2))))))
|
||||||
(else
|
(else
|
||||||
|
|
Loading…
Add table
Reference in a new issue