aboutsummaryrefslogtreecommitdiff
path: root/src/guile/cantius.scm
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-01-26 11:36:21 +0100
committerWojtek Kosior <koszko@koszko.org>2024-01-26 11:36:21 +0100
commit67811d35e09a6a638c6a8e92b6824beb5a631838 (patch)
treeee8ac5fdb75c25bda9d3a97849fcd587ed5da52b /src/guile/cantius.scm
parent9b39286cda39e66bab3c097937da9be243585f3c (diff)
downloadcantius-67811d35e09a6a638c6a8e92b6824beb5a631838.tar.gz
cantius-67811d35e09a6a638c6a8e92b6824beb5a631838.zip
Rename `normalized-path-string` nested function.
This is to decrease the chance of confusion with new, unrelated `normalize-path`.
Diffstat (limited to 'src/guile/cantius.scm')
-rw-r--r--src/guile/cantius.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guile/cantius.scm b/src/guile/cantius.scm
index 247807b..247d593 100644
--- a/src/guile/cantius.scm
+++ b/src/guile/cantius.scm
@@ -389,12 +389,12 @@
(path (uri:split-and-decode-uri-path path-string))
(($* endpoint-ref-result path-tail endpoint parameters)
(query-endset root-endset path (%catchall-ref-result))))
- (define (normalized-path-string)
+ (define (normalized-uri-path-string)
(format #f "/~a" (uri:encode-and-join-uri-path path)))
(define (redirect-path)
(if (%redirect/normalize-path?)
- (normalized-path-string)
+ (normalized-uri-path-string)
(uri:uri-path (request-uri request))))
(define (redirect-query)