Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2006 at 21:02 UTC
Updated:
23 Oct 2006 at 10:53 UTC
Go to admin/menu/item/add -- then add a new menu item with a query in its path; something like:
chatbox?autolaunch=1
After submitting and clicking on the new link, it expands to the following, which gives a 404 error.
chatbox%3Fautolaunch%3D1
This is with 4.7 menu.module v 1.70, with clean urls. I thought it had something to do with http://drupal.org/node/53857 but that doesn't seem to be the case.
Comments
Comment #1
Uwe Hermann commentedConfirmed in HEAD.
Comment #2
seanrIt's passing the menu link through check_plain() which fubars the links. That also breaks #, so I can't use any named anchors. I'm bumping this up to critical since it makes it impossible to link to certain pages.
Comment #3
chx commentedComment #4
chx commentedIf you want quote string or fragment in a menu item, make it an external URL.
Comment #5
seanrThis was already said in the chatroom, but noting it here for the sake of posterity:
The above is a kludgy workaround that is not ideal in many situations. We should still be looking into a better long-term fix for this.
Comment #6
NaX commentedlook here for possible menu system patch http://drupal.org/node/90570