Skip to content

Commit

Permalink
otp: Fix parsing of Google Authenticator URLs that have multiple argu…
Browse files Browse the repository at this point in the history
…ments.
  • Loading branch information
icculus committed Apr 9, 2020
1 parent 5a39f72 commit dcdf978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1pass.lua
Expand Up @@ -178,7 +178,7 @@ local function transform_otp(str)
arg = argstr
argstr = nil
else
arg = string.sub(argstr, 0, idx);
arg = string.sub(argstr, 0, idx - 1);
argstr = string.sub(argstr, idx + 1);
end

Expand Down

0 comments on commit dcdf978

Please sign in to comment.