It is often desirable to create a menu item that links to a particular place on a page, e.g. /node/xx#name
In the menu system the # character is translated into %2523 and the link fails.
There is a hack, documented at http://drupal.org/node/106821, whereby you can specify a complete url to avoid this translation. This is an inelegant workaround and not a solution as it leads to management problems when the base url is not constant throughout the life of a site (e.g. when migrating between test/live sites or when it runs concurrently on two domains: xx.com, xx.co.uk).
I can't see any reason why the # character cannot be escaped. It doesn't pose any security threat and only users with admin privileges can define menu paths.
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 123103-anchors-in-menu-items-2.patch.|
|#49||123103-anchors-in-menu-items.patch||2.4 KB||Garrett Albright|
|FAILED: [[SimpleTest]]: [MySQL] 18,946 pass(es), 4 fail(s), and 0 exception(es).|
|#39||anchors-in-paths.patch||1.28 KB||Garrett Albright|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch anchors-in-paths.patch.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch fragment.patch.|