Ghost/core/server/web/shared/middleware
Hannah Wolfe 303ea87897
Removed overly-specific handling of handlebars errors
refs: https://github.com/TryGhost/Ghost/issues/10496
refs: https://github.com/handlebars-lang/handlebars.js/issues/1548

- For a while, handlebars would and could generate quite a lot of obscure sytnax error messages for malformed helpers that we couldn't catch in gscan
- This was fixed in https://github.com/handlebars-lang/handlebars.js/issues/1548
- We have also since added AST parsing to gscan, so if there are more obscure syntax errors, we should be able to add rules to catch them
- Therefore, this additional, overly specific code block isn't needed anymore, so let's clean it up!
2021-11-25 14:53:36 +00:00
..
api Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
brute.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
cache-control.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
error-handler.js Removed overly-specific handling of handlebars errors 2021-11-25 14:53:36 +00:00
index.js Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
pretty-urls.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
uncapitalise.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
url-redirects.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00