X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=cgilite.sh;h=8859b44c380d13ad61b779775239aeeaabed606c;hp=0c9582b658dd379b69c8bfecb2cfd4c18c623fdc;hb=d490f720aed2ad75f580ac526f83c581d659633b;hpb=b1d4b7df6ead24f4c8e25797ae242287e73e9d59 diff --git a/cgilite.sh b/cgilite.sh index 0c9582b..8859b44 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -170,7 +170,7 @@ URL(){ printf %s "$*" \ | hexdump -v -e '/1 ",%02X"' \ - | tr , % + | tr , % |sed 's;%2F;/;g;' } PATH(){ @@ -181,8 +181,7 @@ PATH(){ tX; s;/[^/]+/\.\./;/;; tX; - s;^(/.*)/$;\1; - s;/+;/;g;' + s;^(/.*)/$;\1;' }