Skip to content

Commit

Permalink
[TASK] Use RegularExpressionValidator for uriPathSegment
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
lorenzulrich committed Oct 6, 2019
1 parent b0b19e9 commit ded3c5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
3 changes: 2 additions & 1 deletion Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
properties:
uriPathSegment:
validation:
'Swisscom.Neos.CaseInsensitiveUrls/Validation/LowercaseValidator': []
'Neos.Neos/Validation/RegularExpressionValidator':
regularExpression: '/^[a-z0-9\-]+$/'
6 changes: 0 additions & 6 deletions Configuration/Settings.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions Resources/Public/JavaScript/Validation/LowercaseValidator.js

This file was deleted.

0 comments on commit ded3c5b

Please sign in to comment.