0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/web
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
..
admin Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
api Removed labs gating from bulk action endpoint 2021-10-01 14:17:52 +02:00
members v4.15.1 2021-09-23 11:13:56 +01:00
oauth Updated OAuth middleware to use the correct URL helpers 2021-09-23 17:26:29 +01:00
parent Revert "Moved vhost mounts into boot file" 2021-07-08 07:10:18 +01:00
shared Added validation to redirects config 2021-10-04 18:32:40 +02:00
site Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
index.js
well-known.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00