drupal_access_denied sets the destination to previous path before changing path; spaces-access-denied doesn't.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | spaces-6.x-3.6-destination.patch | 500 bytes | zero2one |
| spaces_access_denied.patch | 583 bytes | hefox |
drupal_access_denied sets the destination to previous path before changing path; spaces-access-denied doesn't.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | spaces-6.x-3.6-destination.patch | 500 bytes | zero2one |
| spaces_access_denied.patch | 583 bytes | hefox |
Comments
Comment #1
zero2one commentedI confirm this fix.
Hereby the patch for 6.x-3.6
Comment #2
tstackhouse commentedI agree that this is a definite problem with this module, it prevents modules that allow login from an access denied page to properly react and forward users along to their intended destination.
It also prevents modules that react statefully to requests that are denied, e.g. showing path-based and/or role based error messages, to properly handle such requests.
This is a fairly popular module, and is included in the OpenAtrium distribution, and likely others as well, therefore this issue could have a broad impact.
There is no 6.x-3.x branch to report this against, bu looking over the code in 7.x-3.x it seems like the issue is still present and should be patched and back ported to the 6.x line.