Query strings which are appended to menu links are being rendered twice. For example the menu link /search/media/images?f[0]=tags:xxxx would be rendered as https://www.tld/search/media/images?f[0]=tags:xxxx&f[1]=tags:xxxx

Steps to reproduce

Under Drupal version 9.2.4 create a menu item which is linking to an internal page. Append a query string to the link, i.E. /search/media/images?f[0]=tags:xxxx

Proposed resolution

One workaround is to create menu items that contain the full Uri in the link instead of the internal path only.

Comments

kreatIL created an issue. See original summary.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.1.10 (June 4, 2021) and Drupal 9.2.10 (November 24, 2021) were the last bugfix releases of those minor version series. Drupal 9 bug reports should be targeted for the 9.3.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

enaznin’s picture

Checked in Both Drupal 9.5 and Drupal 10.1, but could not reproduce the issue.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs steps to reproduce

Thank you for testing this. The steps to reproduce must need refinement.

kreatil’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Thank you for investigating in this. I cannot reproduce it anymore on Drupal Version 9.5.2. Closing the issue.