Problem/Motivation

A follow-up of #2950883: Allow form redirects to ignore ?destination query parameter, specifically the asks in:

#2950883-11: Allow form redirects to ignore ?destination query parameter:

What if you want the page you're redirecting to to have the destination intact in the query?

#2950883-44: Allow form redirects to ignore ?destination query parameter:

Ignore destination will remove the destination completely, in some cases it would be better if it is passed on to the next page.

This could be useful in flows, like password reset. The user would complete all steps of the password reset flow and then be redirect to the destination he/she had on the login page.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Webbeh created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.