Mastercard / oauth1-signer-ruby

Zero dependency library for generating a Mastercard API compliant OAuth signature.
https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/
MIT License
5 stars 0 forks source link

Only the scheme and host MUST be in lowercase. #2

Closed ech0s7r closed 5 years ago

ech0s7r commented 5 years ago

Only the scheme and host MUST be in lowercase, don't downcase the URL path.

jaaufauvre commented 5 years ago

Well done @ech0s7r! Ideed it can happen ...

ech0s7r commented 5 years ago

We could have a unit test to test and document this behavior.

Yes, @jaaufauvre, it is definitely good to have it and along with this, we should increase the overall code coverage.