I am getting a 404 page when I login to authorize a request token if the site is in a sub-directory.
For example my site is hosted here:
https://example.com/conference/
If the user needs to login to authorize a token the user is redirected here:
https://example.com/conference/user/login?destination=/conference/oauth/...
The problem is that the destination variable is including the sub-directory because we are are using url() to generate the destination url within drupal_goto().
I propose we update this to use http_build_query() instead.
If the user doesn't need to login, the redirection works fine.
Comment | File | Size | Author |
---|---|---|---|
#1 | oauth-404-page-drupal-subdirectory-2135905-1.patch | 749 bytes | chrisguindon |
Comments
Comment #1
chrisguindon CreditAttribution: chrisguindon commentedComment #2
chrisguindon CreditAttribution: chrisguindon commentedComment #3
kylebrowning CreditAttribution: kylebrowning commented#2241047