Ghost/core/server
Aileen Nowak 19a6c8a426 Added test for images w/o extensions for image size util (#9367)
closes #9022

Images without extensions don't need to be manipulated, as we're now reading the bytes and pass those to the `image-size` lib.

This PR adds another `user-agent` to emulate multiple browser requests, as I stumbled over an example where the image without extension is protected otherwise.

Added a test, that works with above mentioned image, but is currently mocked. Nevertheless, the image worked as a PoC, that we're able to read the bytes of an image without its extension and still return the dimensions of the image.
2018-01-04 12:03:41 +01:00
..
adapters
api
apps Moved make-absolute-urls to url service 2017-12-14 22:34:37 +01:00
config
controllers
data Fixed import test: post duplication detection within a file to import 2018-01-03 13:34:15 +00:00
helpers Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
lib Added test for images w/o extensions for image size util (#9367) 2018-01-04 12:03:41 +01:00
models Revert "🐛 Fixed importer duplicate detection for posts" 2018-01-03 13:34:15 +00:00
public
services Used request lib in xmlrpc (#9333) 2017-12-15 16:50:18 +07:00
translations consistency change for english translation keys: use camel case (#9347) 2017-12-18 15:47:55 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Extended ghost version utility (#9278) 2018-01-03 20:20:18 +01:00
analytics-events.js
filters.js
ghost-server.js
index.js
overrides.js
update-check.js consistency change for english translation keys: use camel case (#9347) 2017-12-18 15:47:55 +01:00