Trimmed away extra white spaces

Prettyprinting
This commit is contained in:
Santeri Kannisto 2018-06-02 08:33:40 +02:00 committed by GitHub
parent ecc71d1172
commit e481be1097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ __urlencode() {
c=${string:$pos:1} c=${string:$pos:1}
case "$c" in case "$c" in
[-_.~a-zA-Z0-9] ) o="${c}" ;; [-_.~a-zA-Z0-9] ) o="${c}" ;;
* ) printf -v o '%%%02x' "'$c" *) printf -v o '%%%02x' "'$c"
esac esac
encoded+="${o}" encoded+="${o}"
done done