mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
9d114c7fa6
closes #942 - insert custom middleware to check for blacklisted files - redirect to express.static if file accepted - if not valid return next() to do nothing - currently black listing .hbs, .txt, .md and .json - debatable which is best, black list or white list, either one will probably need tweaks but erred on side of letting a theme serve unknown types |
||
---|---|---|
.. | ||
fixtures | ||
admin_spec.js | ||
api_permissions_spec.js | ||
api_posts_spec.js | ||
api_settings_spec.js | ||
api_tags_spec.js | ||
api_users_spec.js | ||
client_ghostdown_spec.js | ||
client_showdown_int_spec.js | ||
errorHandling_spec.js | ||
export_spec.js | ||
ghost_spec.js | ||
import_spec.js | ||
mail_spec.js | ||
middleware_spec.js | ||
permissions_spec.js | ||
plugins_spec.js | ||
server_helpers_index_spec.js | ||
shared_gfm_spec.js | ||
testUtils.js |