mirror of
https://github.com/TurboGit/hubicfuse.git
synced 2026-08-01 18:32:23 +02:00
Properly encode the user login.
This commit is contained in:
+1
-1
@@ -496,7 +496,7 @@ out="$(
|
||||
stty echo 2>/dev/null
|
||||
fi
|
||||
printf '\n' >&2
|
||||
POST="$( printf '%s' "${scope}" | sed 's|,|\&|g;s|\.|=|g' )&oauth=${oauth}&action=accepted&login=${user_login}&user_pwd=$(urlenc "${user_pwd}")"
|
||||
POST="$( printf '%s' "${scope}" | sed 's|,|\&|g;s|\.|=|g' )&oauth=${oauth}&action=accepted&login=$(urlenc "${user_login}")&user_pwd=$(urlenc "${user_pwd}")"
|
||||
|
||||
ccurl "${URL_AUTH}/auth/" "${CURL_DATA}" "${POST}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user