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:
M | astro | | | 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