Bug #4776

View failure for objects under directory

Added by Sofia Papagiannaki almost 7 years ago. Updated almost 7 years ago.

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

Revision 698016f7
Added by Sofia Papagiannaki almost 7 years ago

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 almost 7 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 almost 7 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

#4 Updated by Sofia Papagiannaki almost 7 years ago

  • Status changed from Assigned to Resolved

Also available in: Atom PDF