You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebMock normalizes uri in a way, Rack can't parse correctly. But OAuth2MacClient relies on WebMock.
The limitation is: Hashes with digits as keys: {:digits => {'1' => 'One, '2' => 'Two'}}. In tests, they will be treated as {:digits => ['One', 'Two']}.
WebMock::Util::URI.normalize_uri("e.com?a[]=b&a[]=c")#=> ...a%5B0%5D=b&a%5B1%5D=c <- it added 0 and 1Rack::Utils.parse_nested_query("a%5B0%5D=b&a%5B1%5D=c")#=> {"a"=>{"0"=>"b", "1"=>"c"}} <- this is wrong: it must be {"a"=>["b", "c"]}
So, unfortunatly, I've added hack to remove digits, put by WebMock: denyago@69b6222#L1R57
The text was updated successfully, but these errors were encountered:
WebMock normalizes uri in a way, Rack can't parse correctly. But OAuth2MacClient relies on WebMock.
The limitation is: Hashes with digits as keys:
{:digits => {'1' => 'One, '2' => 'Two'}}
. In tests, they will be treated as{:digits => ['One', 'Two']}
.More information can be found here: #51
The case is:
So, unfortunatly, I've added hack to remove digits, put by WebMock: denyago@69b6222#L1R57
The text was updated successfully, but these errors were encountered: