astro

a POSIX shell compatible gemini client (mirror of https://github.com/blmayer/astro)
git clone https://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 09d2639f65c4beeed6ac34f3803ade2655a0f020
parent f175601650dcdaf730f48ac61bb1b8764e974608
Author: René Wagner <rwa@clttr.info>
Date:   Mon, 16 Jan 2023 20:42:29 +0100

fix relative urls with leading /

Diffstat:
Mastro | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astro b/astro @@ -131,7 +131,7 @@ parseurl() { if [ "$oldhost" ] then case "$url" in - "/"*) url="$oldhost$1" ;; + "/"*) url="$oldhost$url" ;; *) oldpath="/${oldpath#/*}"; url="$oldhost${oldpath%/*}/$url" ;; esac fi