0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -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 Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00