Closed (duplicate)
Project:
Redirect 403 to User Login
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2012 at 14:05 UTC
Updated:
27 Sep 2013 at 15:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
Jānis Bebrītis commentedupdated title
Comment #2
deekayen commentedThe quick workaround is to turn on clean URLs.
Comment #3
Jānis Bebrītis commentedwow, that was fast reaction :)
yup, noticed that right now while editing code. can You please review this patch and apply if it's good?
Comment #4
deekayen commentedShouldn't $destination always have at least $path, even if $query is empty or am I missing enough context to understand.
Comment #5
Jānis Bebrītis commentedgood q, i see that everything inside { } brackets has been calculated from $destination['query'], including $path variable. So if $destination['query'] doesn't exist, $path doesn't exist either.
Slept < 4 hours tonight, don't take my word as final. Probably I am breaking whole module with this patch :)
Comment #6
gregglesThis code was removed in #1735762: Redirection not working on multi-lang site with prefixes so I guess the right status is "closed (duplicate)" although it's not exactly a duplicate.