Skip to content
Snippets Groups Projects

Resolved redirect to wrong url issue

Open Shivam Tiwari requested to merge issue/lang_dropdown-3049683:8.x-2.x into 8.x-2.x
1 unresolved thread

Please review and merge if looks good.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
363 363 if (!isset($language['query'])) {
364 364 $language['query'] = $this->requestStack->getCurrentRequest()->query->all();
365 365 }
366
366 // Remove the destination parameter from the current request as it breaks
367 // the redirect.
368 $this->requestStack->getCurrentRequest()->query->remove('destination');
369 // Remove the destination from the new URL also.
370 if (!empty($language['query']['destination'])) {
Please register or sign in to reply
Loading