Menu items containing internal links with query parameters are rendered incorrectly

Created on 31 August 2021, over 3 years ago
Updated 19 February 2023, about 2 years ago

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.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

9.5

Component
Menu systemΒ  β†’

Last updated 2 days ago

Created by

πŸ‡©πŸ‡ͺGermany kreatIL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024