Ghost/ghost/core/test/unit/server
Michael Barrett b36c2356fc
Added custom redirects ReDoS validation (#20515)
refs
[ENG-709](https://linear.app/tryghost/issue/ENG-709/%F0%9F%90%9B-bad-redirects-causing-container-tear-down)

Added validation to prevent RegEx's susceptible to ReDoS from being used
with custom redirects. Also moved error details out of `context` and
into `errorDetails` to be consistent with error logging elsewhere as
well as fix issue in admin-x where blank screen would be shown when an
error occurred during redirects upload (due to logic not accounting for
`context` being an object)
2024-07-02 16:00:19 +01:00
..
adapters Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00
data Improved performance fetching posts (#20460) 2024-06-26 16:29:02 -05:00
lib Upgraded to latest version of @tryghost/request 2023-09-26 12:45:14 +01:00
models Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00
services Added custom redirects ReDoS validation (#20515) 2024-07-02 16:00:19 +01:00
web Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
notify.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
overrides.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00