Comments

ruslan_03492 created an issue. See original summary.

rutel95’s picture

StatusFileSize
new3.29 KB

Status: Needs review » Needs work

The last submitted patch, 2: r4032login_redirect_negate_3022651.patch, failed testing. View results

abhaysaraf’s picture

Resolving strictly redirections for non-negated matching pages.

abhaysaraf’s picture

Available 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.

nixou’s picture

Version: 8.x-1.x-dev » 2.x-dev
sachint1996’s picture

Assigned: Unassigned » sachint1996
sachint1996’s picture

Status: Needs work » Needs review
StatusFileSize
new5.53 KB

Patch created for 2.x branch

sachint1996’s picture

Assigned: sachint1996 » Unassigned

Status: Needs review » Needs work
sachint1996’s picture

Status: Needs work » Needs review
StatusFileSize
new6.42 KB

The previous patch was incomplete. This one adds the 'negate' parameter in the test file.

Status: Needs review » Needs work
sachint1996’s picture

Status: Needs work » Needs review
StatusFileSize
new7.13 KB

Rerolled the patch with test file updated.

sachint1996’s picture

StatusFileSize
new7.13 KB

Uploaded the same patch with correct comment ID as per the norms.

nixou’s picture

StatusFileSize
new7.22 KB

Reroll against latest dev

nixou’s picture

StatusFileSize
new1.8 KB
new6.41 KB
new7.98 KB

I 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.

The last submitted patch, 16: 3022651-16-test-only.patch, failed testing. View results

  • Nixou committed 068af6a on 2.x
    Issue #3022651 by SachinT1996, Nixou, abhaysaraf, rutel95: Support...
nixou’s picture

Status: Needs review » Fixed

Thank you very much.

Committed to 2.x-dev, will be released in 2.1.1.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.