aboutsummaryrefslogtreecommitdiff
path: root/ennu.el
diff options
context:
space:
mode:
authorArun Isaac2020-07-09 19:41:50 +0530
committerArun Isaac2020-07-10 19:01:31 +0530
commit17519a392075a54a546f74dd23cc38a2297230c4 (patch)
treedecb6a55dca5adca07a3f749482766a87d08c9b0 /ennu.el
parente97b910c70d175f30d082861555571f044c323cc (diff)
downloadennum-17519a392075a54a546f74dd23cc38a2297230c4.tar.gz
ennum-17519a392075a54a546f74dd23cc38a2297230c4.tar.lz
ennum-17519a392075a54a546f74dd23cc38a2297230c4.zip
Find file to serve using unhexed URI.
* ennu.el (ennu-server-start): Find file to serve using unhexed URI.
Diffstat (limited to 'ennu.el')
-rw-r--r--ennu.el2
1 files changed, 2 insertions, 0 deletions
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.