Hello :)
I use tags in my current projects and they are working fine, but only
if they contain these characters [0-9a-z]
But I want to use tags like this as well: c#, c++ etc.

my first idea was to "rawurlencode" the incoming tag, like:
rawurlencode('c#) => c%23
and save this tag in the database. Works just fine but if I use the
url: http://domain.com/tags/c%23
everything after "c" is cut off and so no data is fetched from the DB.

Does anyone know how to solve this or another way to implement this?

My route looks like this:

Router::connect('/tags/(.*)', array('controller' => 'tags', 'action'
=> 'view'));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to