0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test
Naz 5066e65e03 Added validation to redirects config
refs https://linear.app/tryghost/issue/CORE-86/fix-failing-site-instance-when-redirects-file-is-invalid
refs 260a47da83

- Added validation logic to catch redirects files having invalid RegEx expressions when they are introduced into the system (on upload)
- This way the error happening in the refed commit would have not happened as the validator would not have passed it through
- Moved up the "Router" declaration in custom-redirects as it needs to happen before any other bit of logic has a chance to throw
2021-10-04 18:32:40 +02:00
..
api-acceptance Fixed member bulk actions acceptance tests 2021-10-01 14:21:14 +02:00
frontend-acceptance Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
regression Added offers table (#13381) 2021-10-01 12:18:33 +02:00
unit Added validation to redirects config 2021-10-04 18:32:40 +02:00
utils Moved route settings initialization to backend 2021-09-28 04:59:41 +13:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc