Slugs in Horde Applications
What is a slug?
wikipedia link, etc.
Slug specification for Horde
- Slugs are letters (upper or lower case), numbers, underscore (_) and dash (-). The PCRE regex is: [a-zA-Z0-9_-]+
- how long?
- you can't create slugs with hyphens or underscores, even though these are valid in urls
- the character limit is quite short (longer titles can be useful for SEO).
and a few usability enhancements...
- display a warning if a user tries to change the slug after a form has already been saved ("Warning: changing the slug will cause the link for this form to change.")