Extra slash added to URL for staging

Bug #1346396 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pay-service (Ubuntu)
Fix Released
Critical
dobey

Bug Description

When setting PAY_BASE_URL in the environment to point pay-service at the staging server, an extra slash is added to the URL path, which causes the server to treat the OAuth signature as invalid, leading to purchased apps appearing as not purchased. The currently implementation also requires the root API endpoint path, which is not consistent with the variable name.

Related branches

Revision history for this message
dobey (dobey) wrote :

I've added pay-ui to this bug, as it and pay-service are inconsistent with how they parse the same environment variable.

dobey (dobey)
Changed in pay-ui:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pay-service - 2.0.0+14.10.20140724.1-0ubuntu1

---------------
pay-service (2.0.0+14.10.20140724.1-0ubuntu1) utopic; urgency=low

  [ Rodney Dawes ]
  * Improve the endpoint construction and path handling. (LP: #1346396)
 -- Ubuntu daily release <email address hidden> Thu, 24 Jul 2014 17:09:51 +0000

Changed in pay-service (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:pay-ui at revision 11, 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
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.