aboutsummaryrefslogtreecommitdiff
path: root/otp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'otp.bash')
-rwxr-xr-xotp.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/otp.bash b/otp.bash
index 2668d9a..55dbcb3 100755
--- a/otp.bash
+++ b/otp.bash
@@ -63,7 +63,7 @@ otp_parse_uri() {
local params
local IFS=\&; read -r -a params < <(echo "$p") ; unset IFS
- pattern='^(.+)=(.+)$'
+ pattern='^([^=]+)=(.+)$'
for param in "${params[@]}"; do
if [[ "$param" =~ $pattern ]]; then
case ${BASH_REMATCH[1]} in