use PATH-LIST->FILE-NAME for file name assembling
This commit is contained in:
parent
a09d10850e
commit
349402b7cc
|
@ -81,8 +81,9 @@
|
|||
(if (redirect-body? (response-body response))
|
||||
;; prefix with servlet-path
|
||||
(make-redirect-response
|
||||
(string-join (file-name-as-directory servlet-prefix)
|
||||
(redirect-body-location (response-body response))))
|
||||
(path-list->file-name
|
||||
(list (directory-as-file-name servlet-prefix)
|
||||
(redirect-body-location (response-body response)))))
|
||||
response)))
|
||||
(else
|
||||
(make-http-error-response http-status/method-not-allowed req
|
||||
|
|
Loading…
Reference in New Issue