From 17519a392075a54a546f74dd23cc38a2297230c4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 9 Jul 2020 19:41:50 +0530 Subject: Find file to serve using unhexed URI. * ennu.el (ennu-server-start): Find file to serve using unhexed URI. --- ennu.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ennu.el') diff --git a/ennu.el b/ennu.el index d7f6cca..0a4114a 100644 --- a/ennu.el +++ b/ennu.el @@ -500,6 +500,8 @@ as keys. Keys are compared using `equal'." (defun httpd/ (proc uri-path query request) (let ((uri-path (httpd-unhex uri-path)) (file-path (httpd-gen-path uri-path))) + (let* ((uri-path (httpd-unhex uri-path)) + (file-path (httpd-gen-path uri-path))) (cond ;; If a HTML file other than index.html was requested, reject ;; that request. -- cgit v1.2.3