From: Nishi Date: Wed, 2 Oct 2024 07:48:17 +0000 (+0000) Subject: space cannot be used for url scheme X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=76ee73099e69fcfee94fb9a709e1dc43398dfd03;p=koakuma.git space cannot be used for url scheme git-svn-id: file:///raid/svn-personal/koakuma/trunk@21 219d0f9c-2d94-d447-890a-813e76b88fe9 --- diff --git a/koakuma.cgi.in b/koakuma.cgi.in index 06fbb67..19a7c55 100644 --- a/koakuma.cgi.in +++ b/koakuma.cgi.in @@ -171,7 +171,7 @@ proc tputs {data} { proc html_escape {data} { set tmp "[regsub -all {<} "[regsub -all {>} "$data" {\>}]" {\<}]" - return "[regsub -all {[^:]+://[^ ]+} "$tmp" {\0}]" + return "[regsub -all {[^: ]+://[^ ]+} "$tmp" {\0}]" } proc open_projects {} {