I have the same issue with users selecting their own slug/url. I have no got
around to implementing it yet but the idea I am thinging of going with would
be to check the submitted slug/url against ACOS table to to easily check
against controller names since ACOS has a list of all the controllers
function names and then run it thru my 'banned' table.

Dave

-----Original Message-----
From: Miles J [mailto:[email protected]] 
Sent: September-18-09 4:35 PM
To: CakePHP
Subject: Re: Personal URL for site users


You would have to create a "restricted" list of usernames. These usernames
that aren't allowed would be the names of your controllers and other files.
You should do this on signup.

Additionally, the easier way would be to do: /user/<username>


--~--~---------~--~----~------------~-------~--~----~
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