OAuth bits sent in query_string to MyApps are not urlencoded

Bug #1504548 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Alejandro J. Cura

Bug Description

Hello!

In MyApps we have noticed some requests coming from pay-ui look like this:

https://myapps.developer.staging.ubuntu.com/api/2.0/click/paymentmethods/add/?currency=USD&oauth_consumer_key=SECRET&oauth_nonce=frBqWNT1kri3A1iUP2z&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1444307545&oauth_token=SECRET&oauth_version=1.0&oauth_signature=/cepMFHZ3w2Y6MpKsxn/DDJPiik%3D

As you can see, there is a / in the query string that should be encoded. This affects signature validation in SSO, which as of today has a workaround to urlencode parameters before validating, but we like to eventually remove once pay-ui is fixed and no more issues are detected in our logs.

Thanks!

Related branches

description: updated
dobey (dobey)
Changed in pay-ui:
assignee: nobody → Rodney Dawes (dobey)
status: New → In Progress
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
status: New → In Progress
importance: Undecided → High
milestone: none → ww02-2016
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:pay-ui at revision 138, scheduled for release in pay-ui, milestone Unknown

Changed in pay-ui:
status: In Progress → Fix Committed
dobey (dobey)
Changed in pay-ui:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.