Bug #4776
View failure for objects under directory
Status: | Resolved | Start date: | 12/18/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Sofia Papagiannaki | % Done: | 0% |
|
Category: | Astakos | Spent time: | - | |
Target version: | 0.15 |
Description
View fails with "Mismatching redirect uri"
Associated revisions
astakos: Fix view requests for objects whose name contains /
Astakos erroneously made assumptions about the requested redirect_uri format.
This is not anyway desirable and it was also responsible for view failures
under certain circumstances.
This fix implements a clearer check for the requested redirect_uri without
any assumption about the redirect_uri format.
Refs: #4776
History
#1 Updated by Sofia Papagiannaki over 10 years ago
- Category changed from Pithos to Astakos
Request for /<pithos prefix>/ui/view/<account>/<container>/<object>
fail with "Mismatching redirect uri"
if the <object> contains /
(the object is under a application/directory or application/folder object)
Astakos fails to parse correctly the requested URI
and hence it considers erroneously that the URI mismatches with the registered redirect urls for the client.
See also http://www.synnefo.org/docs/synnefo/latest/quick-install-admin-guide.html#register-pithos-view-as-an-oauth-2-0-client
#2 Updated by Sofia Papagiannaki over 10 years ago
Sofia Papagiannaki wrote:
Request for /<pithos prefix>/ui/view/<account>/<container>/<object>
Request --> Requests
fail with "Mismatching redirect uri"
if the <object> contains /
(the object is under a application/directory or application/folder object)Astakos fails to parse correctly the requested URI
and hence it considers erroneously that the URI mismatches with the registered redirect urls for the client.
See also http://www.synnefo.org/docs/synnefo/latest/quick-install-admin-guide.html#register-pithos-view-as-an-oauth-2-0-client
#3 Updated by Sofia Papagiannaki over 10 years ago
The fix can be found here: 698016f7b4fa549b8b0c0a0ab1283818a7455bb1
#4 Updated by Sofia Papagiannaki over 10 years ago
- Status changed from Assigned to Resolved