-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: uritools
action: commit
revision:
path_from:
revision_from: 549c410dcfbac4c528998a22a49f24a1be888916:
path_to:
revision_to:

git.thebackupbox.net

uritools

git://git.thebackupbox.net/uritools

commit 549c410dcfbac4c528998a22a49f24a1be888916
Author: epoch <epoch@thebackupbox.net>
Date:   Mon Oct 30 13:22:00 2023 -0500

    we will see if this breaks more stuff than it fixes eventually

diff --git a/uri-absolution b/uri-absolution

index 1683071430be656a9db699032bc0d712891be7ee..

index ..9febf54341ddf57058176e0716718619b2f5a999 100755

--- a/uri-absolution
+++ b/uri-absolution
@@ -21,8 +21,8 @@ sed -u \
 's|^<>$|'"${base_uri}"'|g;t
 s|^<[ \t]*\([A-Za-z][A-Za-z+.-]*:[^ \t]*\)>|\1|g;t
 s|^<[ \t]*\(#[^ \t]*\)>|'"${base_uri}"'\1|g;t
-s|^<[ \t]*\(?[^ \t]*\)>|'"$scheme"'://'"$domain""$path"'\1|g;t
+s|^<[ \t]*\(?[^ \t]*\)>|'"$scheme"'://'"$domain"/"$path"'\1|g;t
 s|^<[ \t]*\(//[^ \t]*\)>|'"$scheme"':\1|g;t
 s|^<[ \t]*\(/[^ \t]*\)>|'"$scheme"'://'"$domain"'\1|g;t
-s|^<[ \t]*\([^ \t]*\)>|'"$scheme"'://'"$domain""$most_of_path"'/\1|g;t
+s|^<[ \t]*\([^ \t]*\)>|'"$scheme"'://'"$domain"/"$most_of_path"'/\1|g;t
 s|^<[ \t]*\(.*\)>|<\1> UNHANDLED|g'

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 17:01:01 2024