From b189879cd57414d8860ce99e52111160f6d7ff0f Mon Sep 17 00:00:00 2001 From: slava Date: Thu, 19 Oct 2006 21:34:38 +0000 Subject: [PATCH] Use path+ in file responder --- contrib/httpd/file-responder.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/httpd/file-responder.factor b/contrib/httpd/file-responder.factor index 8d0dd35561..28a57e8506 100644 --- a/contrib/httpd/file-responder.factor +++ b/contrib/httpd/file-responder.factor @@ -5,7 +5,7 @@ USING: calendar embedded errors html httpd io kernel math namespaces parser sequences strings hashtables ; : serving-path ( filename -- filename ) - [ "" ] unless* "doc-root" get swap append ; + [ "" ] unless* "doc-root" get swap path+ ; : file-http-date ( filename -- string ) #! Return the date in HTTP Date format (see RFC 2616). -- 2.34.1