1
0
Fork 0

- [gemini] fix split when separator is at the end of a path.

This commit is contained in:
cage 2020-12-29 20:36:42 +01:00
parent 9876213933
commit 7a98df4a5a
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@
(values certificate key))))
(defun percent-encode-path (path)
(let ((splitted (split "/" path)))
(let ((splitted (split "/" path :limit (1+ (length path)))))
(if splitted
(reduce (lambda (a b) (strcat a "/" (maybe-percent-encode b)))
splitted)