How would you validate a user created slug so that it is not a name used as a function in the app? (in my app they choose the slug they want...not created by first + lastname)
I obviuosly do not want a user choosing a slug "admin" or any controller name || function?
Since all of these are stored in the ACOS table is it best to query the table against what the user submits?
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment