Merge lp://staging/~dobey/pay-ui/escape-signed-query into lp://staging/pay-ui

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 136
Merged at revision: 138
Proposed branch: lp://staging/~dobey/pay-ui/escape-signed-query
Merge into: lp://staging/pay-ui
Diff against target: 76 lines (+20/-3)
3 files modified
backend/modules/payui/network.cpp (+11/-3)
backend/modules/payui/network.h (+1/-0)
backend/tests/test_network.cpp (+8/-0)
To merge this branch: bzr merge lp://staging/~dobey/pay-ui/escape-signed-query
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+276191@code.staging.launchpad.net

Commit message

Encode slashes in URL query strings when signing as a query.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

I'm not sure that this does what we need. QUrl::setQuery appears to only check StrictMode in order to clear out the query if validation fails (http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/io/qurl.cpp#n2618) so instead of encoding the slash in auth_signature wouldn't this just clear the query altogether?

review: Needs Information
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: