Closed (duplicate)
Project:
Custom Breadcrumbs
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2007 at 00:03 UTC
Updated:
7 Dec 2008 at 09:10 UTC
The links in the breadcrumb path are different from the actual url when there are spaces in the address.
I have a sneaking suspicion that it may have something to do with token.
Comments
Comment #1
medden commentedI had the same problem, but fixed it by using
node/[node-id]instead of the node name.
Comment #2
dquakenbush commentedIt's important for my organization to use the node title in the URL for SEO reasons...
Anyone know why spaces are replaced with "+" instead of something else (would be way handy to use the default defined in Pathauto)? Or at least where to find the code that actually does the substitution? I couldn't find an obvious replacement code in Custom Breadcrumbs, Taxonomy or Token.
Comment #3
wmostrey commentedAs far as I know url() (and thus l() too) does this, so there's not much you can do but replace that code with the html code for the link. That probably would not be the best way to do this.
Comment #4
dquakenbush commentedI wound up taking a different route:
http://drupal.org/node/93500
I construct a complete breadcrumb path based on the URL, which is consistently created via pathauto.
Comment #5
babbage commentedhttp://drupal.org/node/296516