| Comment | File | Size | Author |
|---|---|---|---|
| #16 | interdiff_15_16.txt | 7.98 KB | nixou |
| #16 | 3022651-16.patch | 6.41 KB | nixou |
| #16 | 3022651-16-test-only.patch | 1.8 KB | nixou |
| #15 | 3022651-15.patch | 7.22 KB | nixou |
| #14 | r4032login-redirect_ignore_destination_parameter-3022651-14.patch | 7.13 KB | sachint1996 |
Comments
Comment #2
rutel95Comment #4
abhaysaraf commentedResolving strictly redirections for non-negated matching pages.
Comment #5
abhaysaraf commentedAvailable with below checkbox option at- admin/config/system/site-information:
[x] Ignore Destination query parameter from request.
If 403 occur for request mypage1?destination=mypage2, then enabling this will target mypage1 instead of mypage2.
Important: This patch also cover patch#4.
Comment #6
nixou commentedComment #7
sachint1996 commentedComment #8
sachint1996 commentedPatch created for 2.x branch
Comment #9
sachint1996 commentedComment #11
sachint1996 commentedThe previous patch was incomplete. This one adds the 'negate' parameter in the test file.
Comment #13
sachint1996 commentedRerolled the patch with test file updated.
Comment #14
sachint1996 commentedUploaded the same patch with correct comment ID as per the norms.
Comment #15
nixou commentedReroll against latest dev
Comment #16
nixou commentedI could not understand what was the purpose of ignore_destination_parameter as we already have an option to enable or disable the destination parameter.
I also tried the option while skipping or allowing redirection for some urls but it seems not to make any difference so I removed it.
I reorganized the code and added tests to cover the negate part of the condition.
Let's see if tests are ok.
Comment #19
nixou commentedThank you very much.
Committed to 2.x-dev, will be released in 2.1.1.