0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/adapters/storage
Daniel Lockyer a671ad4707 Handle content requests with overly long filenames
no issue

- a request for a filename longer than those allowed by the filesystem produced a ENAMETOOLONG error, which would end up becoming a 500 error from Ghost
- this catches the error and returns a HTTP 400 Bad Request response
2020-01-16 14:18:09 +07:00
..
index.js
LocalFileStorage.js Handle content requests with overly long filenames 2020-01-16 14:18:09 +07:00
utils.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00