wikijs-fork/client/components/editor
broxen 813df21020
fix: prevent malformed paths for pages (#4533)
* First take on removing erroneous path characters

Paths should not accept trailing slashes or hashtags. This is a first attempt at nullifying those.

* Use rules to verify path before acceptance

Use Regex and rules to verify paths before acceptance

* Rules to prevent any leading or trailing slashes

* Complex slug for regex on path, but it elminates special chars

* Added yarn.lock to .gitignore

* Maybe we do want yarn.lock afterall

* Adding yarn.lock

* Move Regex pattern outside of export
2021-10-10 14:56:20 -04:00
..
api
ckeditor
common
markdown
editor-api.vue
editor-ckeditor.vue
editor-code.vue
editor-markdown.vue
editor-modal-blocks.vue
editor-modal-conflict.vue
editor-modal-drawio.vue
editor-modal-editorselect.vue
editor-modal-media.vue
editor-modal-properties.vue
editor-modal-unsaved.vue
editor-redirect.vue