0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Kevin Ansfield 02c034068c Fixed error when serving public images from servePublicFile middleware
no issue

- when `servePublicFile` middleware serves an image it resulted in a "Cannot set headers after they are sent to the client" error because `next()` was erroneously called for successful requests which then tripped the `prettyUrls` middleware which tries to perform a redirect
- only calling `next()` when an error is present allows errors to be picked up by later middleware but successful requests end in the `servePublicFile` middleware
2020-02-17 09:24:15 +00:00
..
adapters Handle content requests with overly long filenames 2020-01-16 14:18:09 +07:00
api Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
config 🐛 Fixed csv file uploads on Windows w/Excel installed 2019-11-26 15:11:05 +00:00
data Fixed tests 2020-02-14 15:44:47 +05:30
lib 🐛 Fixed "undefined" values in member csv export 2020-02-12 11:03:16 +05:30
models Fixed members tests 2020-02-14 16:06:25 +05:30
public Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
services Added host limit check for members email publish (#11534) 2020-02-13 10:43:36 +05:30
translations Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Fixed error when serving public images from servePublicFile middleware 2020-02-17 09:24:15 +00:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js Merge branch 'master' into mega 2019-11-18 11:09:46 +00:00
overrides.js
sentry.js Integrated Sentry error tracking 2020-02-03 13:43:43 +00:00
update-check.js Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00