twilio / authy-java

Java Client for Twilio Authy Two-Factor Authentication (2FA) API
https://www.twilio.com/docs/authy/api
MIT License
65 stars 46 forks source link

Fixes encoding from JSON string to URL Encoded Params #64

Closed juliancantillo closed 4 years ago

juliancantillo commented 4 years ago

The fix changes the encoded string from

< device%5Benabled_unlock_methods%5D%5B%5D=%5B%22pin%22%2C%22fingerprint%22%5D
< device%5Benabled_unlock_methods%5D%5B%5D=%5B%22pin%22%2C%22fingerprint%22%5D

to

> device%5Benabled_unlock_methods%5D%5B%5D=pin
> device%5Benabled_unlock_methods%5D%5B%5D=fingerprint

Also bumped up the version with patch

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

codecov-io commented 4 years ago

Codecov Report

Merging #64 into master will increase coverage by 0.21%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   73.61%   73.83%   +0.21%     
==========================================
  Files          23       23              
  Lines         921      921              
  Branches       95       95              
==========================================
+ Hits          678      680       +2     
+ Misses        202      201       -1     
+ Partials       41       40       -1
Impacted Files Coverage Δ
src/main/java/com/authy/AuthyUtil.java 61.79% <100%> (+2.24%) :arrow_up: