The url query parameters get lost when the DisabledLanguagesEventSubscriber redirects the user. While it is normal when the user is redirected to the homepage, in my opinion it shouldn't when user Override Routes, as they ofter have a specific behavior requesting them to keep these parameters.

In my case, I'm using simple_oauth, with the implicit grant, which needs its parameters in order to return an access token.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nanak created an issue. See original summary.

nanak’s picture

Assigned: nanak » Unassigned
Issue summary: View changes
Status: Active » Needs review
FileSize
777 bytes
sandboxpl’s picture

Issue tags: +Amsterdam2019

  • sandboxpl committed 891cbb9 on 8.x-1.x authored by nanak
    Issue #3068968 by nanak: Query parameters get lost on redirect
    
sandboxpl’s picture

Status: Needs review » Fixed

Proposed solution sounds reasonable and proposed patch works as expected,
commited to dev, thank you!

Status: Fixed » Closed (fixed)

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