Closed (fixed)
Project:
Pathauto
Version:
5.x-2.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jun 2008 at 19:24 UTC
Updated:
26 Apr 2011 at 21:32 UTC
I want to use a # (hash) in my node links, so that users can jump to specific nodes in a list.
How can I prevent # being converted to %23?
Comments
Comment #1
gregglesI believe this is a weakness (and benefit) in the core path module. It will urldecode urls as they come out of the url_alias table which turns the # to the %2523 (or whatever it is...).
1) Visit admin/build/path
2) Add to the path "node/1" the alias "something#stuff"
3) Look in your url_alias table and notice how the # is stored as a # sign
3) Visit node/1 and click on the "View" tab - you will be directed to something%2523stuff
So...it's beyond Pathauto.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
hermes_costell commentedLeveraging custom_url_rewrite_outbound:
Note: this isn't just a 5.x issue - it's at least a 6.x issue as well - but there appears to be no way to accommodate that via the architecture.