mirror of https://github.com/requarks/wiki
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 exportpull/4604/head
parent
e8d56c28eb
commit
813df21020
Loading…
Reference in new issue