[drupal-devel] taxonomy nice URLs

Morbus Iff morbus at disobey.com
Wed Mar 23 19:40:06 UTC 2005


>  % >  It might. But I like the direction that is going where
>  % >  it allows for taxonomies and then subselects of taxonomies
>  % >  that are shared (http://www.drupal.org/taxonomy/horses+cars)
> 
>  % Well, the above poses a problem. Your URL is passing "horses cars" into 
>  % Drupal. Should Drupal treat that as two terms, or one term? And what about 
>  %   horse+riding? chocolate+pebbles? frosted+flakes? Two terms or one?
> 
>  In my mind, I was seeing the "+" as a marker for two terms.
>  would & be better? 

No - that's an even MORE insidious bug. Because when you ask for 
http://www.drupal.org/taxonomy/horses&cars with "Clean URLs" on, it turns 
into something like ?q=taxonomy/horses&cars, which means that a new GET 
parameter called "cars", with no value, is created. Certainly not what you 
intend. I think people have tried %26 in Drupal too (the decimal encoding 
of &), and there was a further problem with that.

-- 
Morbus Iff ( you are nothing without your robot car, NOTHING! )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



More information about the drupal-devel mailing list