Ghost/ghost/core/test
Daniel Lockyer 134c33cef5
🐛 Fixed missing source + resized images producing rendered 404 (#19869)
fixes https://linear.app/tryghost/issue/ENG-746/http-500-responses-when-handle-image-sizes-middleware-hits-missing

- in the event a request comes in for a resized image, but the source
image does not exist, we return a rendered 404 page
- we do this because we pass the NotFoundError to `next`, which skips
over the static asset code where we return a plaintext 404
- also included a breaking test that ensure we go to the next middleware
without an error
2024-03-18 18:32:10 +01:00
..
e2e-api 🐛 Fixed adding recommendation when oembed fails (#19861) 2024-03-14 11:36:28 +01:00
e2e-browser Fixed browser tests (#19852) 2024-03-13 12:54:19 +01:00
e2e-frontend 🐛 Fixed missing source + resized images producing rendered 404 (#19869) 2024-03-18 18:32:10 +01:00
e2e-server Added cache-control header back to /auth-frame/ response (#19858) 2024-03-13 16:00:46 +00:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Added referral tracking to the powered-by-ghost newsletter badge (#19850) 2024-03-13 16:03:13 +01:00
regression Cached api controller pipelines (#19880) 2024-03-19 00:29:41 +07:00
unit 🐛 Fixed missing source + resized images producing rendered 404 (#19869) 2024-03-18 18:32:10 +01:00
utils 🎨 Reduced requests and 403 responses for comments auth check (#19840) 2024-03-12 12:27:18 +00:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00