Closed kszafran closed 1 year ago
This pull request addresses https://github.com/pquerna/otp/issues/68. I have also encountered + signs instead of spaces in Google Authenticator when using https://github.com/ory/kratos (which uses this library).
+
It seems to me that copy-pasting the URL-encoding function is the simplest and most robust solution here (instead of trying to do some clever replacing post-encoding). I also fixed some typos in the first commit.
@pquerna Thank you for the quick review! Are you planning on releasing a new version soon by any chance?
@kszafran thanks for the PR -- yes, i've tagged v1.4.0 for this.
This pull request addresses https://github.com/pquerna/otp/issues/68. I have also encountered
+
signs instead of spaces in Google Authenticator when using https://github.com/ory/kratos (which uses this library).It seems to me that copy-pasting the URL-encoding function is the simplest and most robust solution here (instead of trying to do some clever replacing post-encoding). I also fixed some typos in the first commit.