Yubico / developers.yubico.com

Source code for generating our website
https://developers.yubico.com
53 stars 64 forks source link

fix: URL encode '/' in expected HMAC signature #479

Closed eddex closed 2 days ago

eddex commented 2 years ago

Any standard URL encoding implementation will also URL encode a '/' in a string. It was confusing to me why the example showed some of the special characters being url encoded ('+' and '=') and some not ('/').

Tested using api.yubico.com/wsapi/2.0/verify and it works fine with the '/' encoded as well as un-encoded.