about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorglenda <glenda@9front.local>2021-03-12 22:24:02 +0000
committerglenda <glenda@9front.local>2021-03-12 22:24:02 +0000
commit8e1c7b9f16acdb8a6b36c79ccd029b63ad520843 (patch)
treea587e0cf42fe6522e44b7c0943d6c03c572caabd
parent9eed290c9b0631d909e39ddac2e1e265cbd999cb (diff)
downloadg9srv-8e1c7b9f16acdb8a6b36c79ccd029b63ad520843.tar.gz
fix
-rwxr-xr-xblog4
1 files changed, 3 insertions, 1 deletions
diff --git a/blog b/blog
index abcffc6..3f37676 100755
--- a/blog
+++ b/blog
@@ -22,8 +22,10 @@ fn gettitle{
 }
 posts=`{ls -p $webroot/posts}
 fullurl=`{read}
+echo $fullurl >[1=2]
 url=`{echo $fullurl | sed 's/gemini:\/\/[0-9 a-z .]*//
-			s/
//'}
+			s/
//
+			s/%2B/+/g'}
 
 if(~ $url '') url=/