mirror of
https://codeberg.org/cage/tinmop/
synced 2025-02-07 07:07:05 +01:00
- [gemini] fix split when separator is at the end of a path.
This commit is contained in:
parent
9876213933
commit
7a98df4a5a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user