From fe67294a5c9b198ad3dd383dcedf53fab0015e1c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 30 Sep 2020 10:34:12 +0200 Subject: [PATCH] Squashed 'cgilite/' changes from 00ba4b0..1462517 1462517 escape CR and TAB in URLs git-subtree-dir: cgilite git-subtree-split: 14625170df9e56e7eb2abf9c41c0b32cbd6577fa --- cgilite.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgilite.sh b/cgilite.sh index 32aa28b..e145f2e 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -225,6 +225,8 @@ URL(){ \[*) out="${out}%5B";; \]*) out="${out}%5D";; \ *) out="${out}%20";; + " "*) out="${out}%09";; + "${CR}"*) out="${out}%0D";; "${BR}"*) out="${out}%0A";; %*) out="${out}%25";; *) out="${out}${str%"${str#?}"}";; -- 2.39.2