Disallow periods in slugs. Fixes Issue #10.
This commit is contained in:
parent
4930387924
commit
a1b39bfa33
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ bound to the current subclass."
|
|||
(or (char<= #\0 char #\9)
|
||||
(char<= #\a char #\z)
|
||||
(char<= #\A char #\Z)
|
||||
(member char '(#\_ #\- #\.))))
|
||||
(member char '(#\_ #\-))))
|
||||
|
||||
(defun slugify (string)
|
||||
"Return a version of STRING suitable for use as a URL."
|
||||
|
|
Loading…
Add table
Reference in a new issue