X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=cgilite.sh;h=90d65577648d2d78efa7d349e90677984f87c436;hp=03541b41829355d69287596ed40041dccf8545e1;hb=1d27862fc4c0ced76afb8bdfa04a9ab0f50208ef;hpb=6147b0e50cd364e198e1a95061da781763a2b215 diff --git a/cgilite.sh b/cgilite.sh index 03541b4..90d6557 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -313,7 +313,7 @@ URL(){ "${CR}"*) out="${out}%0D"; str="${str#?}";; "${BR}"*) out="${out}%0A"; str="${str#?}";; %*) out="${out}%25"; str="${str#?}";; - *) out="${out}${str%%[]&\"\'# ${CR}${BR}[]*}"; str="${str#"${str%%[]&\"\'# ${CR}${BR}[]*}"}";; + *) out="${out}${str%%[]&\"\'\?# ${CR}${BR}%[]*}"; str="${str#"${str%%[]&\"\'\?# ${CR}${BR}%[]*}"}";; esac; done printf %s "$out" }