Tuesday, August 4, 2009

Re: Slug name limitations

im not sure i understand why a slug should conflict with you
functions. /posts/index/id-slug should be ok.
can you explain a little more?

On Aug 4, 8:49 am, "Dave Maharaj :: WidePixels.com"
<d...@widepixels.com> wrote:
> 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: