Closed (won't fix)
Project:
Global Redirect
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 19:13 UTC
Updated:
27 May 2010 at 01:31 UTC
I try:
node/52753 -> skill/3517/penmanship#skills
but when I attempt to browse to node/52753
I get redirected to skill/3517/penmanship%2523skills
Comments
Comment #1
brian_c commentedIf you are using Drupal's l() or url() functions to construct the URL, you need to pass in fragments (plus queries and other items) as part of the options array.
Ie,
If you're just trying to do it with just a straight URL Alias, I don't think that's possible. Why would a node need to define it's URL alias as pointing to a specific section of itself? Just do a normal alias and construct your links (with or without # fragment) at the theming layer using l() or url().
Comment #2
der100 commentedThe '#skills' portion is for a tabbed/accordion display.
'skills' is the tab that we want to be active when the page is displayed.
Comment #3
brian_c commentedWhy not just make the #skills section open by default when there's no anchor specified?
Comment #4
nicholasthompsonGR doesn't touch fragments (they dont get passed back to the server) so I believe your problem is elsewhere.
Comment #5
dman commentedHere's an old thread. Any clues there? It points at path.module being the encoder.
It should be allowed for any URL to be valid without being munged.