Skip Menu |

This queue is for tickets about the Net-OAuth-Simple CPAN distribution.

Report information
The Basics
Id: 89949
Status: new
Priority: 0/
Queue: Net-OAuth-Simple

People
Owner: Nobody in particular
Requestors: popefelix [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: make_restricted_request does not preserve query embedded in URL
Date: Fri, 1 Nov 2013 10:29:11 -0500
To: bug-net-oauth-simple [...] rt.cpan.org
From: Kit Peters <popefelix [...] gmail.com>
When I call make_restricted_request('http://foo.bar/baz?bak=quux', GET), the embedded query (?bak=quux) is not preserved. This is due to the 'extra_params' parameter to the constructor for Net::OAuth::ProtectedResourceRequest getting clobbered in _make_request. Patch attached. Short explanation of the patch: I merge the query extracted by URI->query_form into any other extra parameters passed and pass the merged hash into the request constructor. KP -- Kit Peters, W0KEH GPG public key fingerpint: 1A12 04B6 0C80 306A B292 14FD 2C7A 1037 F666 46A7 Hello to any and all NSA, DEA, or other government or non-government agents reading this email. Tell me about your life; I'll tell you about mine.

Message body is not shown because sender requested not to inline it.