diff --git a/bin/.bin/urlencode b/bin/.bin/urlencode index 2a867dab..4e4c9ce1 100755 --- a/bin/.bin/urlencode +++ b/bin/.bin/urlencode @@ -19,7 +19,7 @@ urlencodespecial() { string="$1" if [ -z "$string" ]; then - string="$(cat)" + string="$(cat - | sed 's/^ //')" # For some reason, vim likes to add a space to the begining fi #URL