Ghost/core
Fabien O'Carroll 2cd8f89933 🐛 Fixed 500 errors for incorrect Origin headers (#11433)
no-issue

Our function for determining cors options created a new instance of URL
without wrapping it in a try/catch which meant any failures to parse the
URL bubbled down as a 500 error.

500 errors are commonly used for alerting at the infrastructure level,
and this error is definitely one caused by a badly configured client, so
we wrap the construction and crap out with a Bad Request Error (HTTP
400) if it fails.
2019-12-04 18:06:30 +07:00
..
client@a00da75736 Updated Ghost-Admin to 3.1.0 2019-11-27 14:11:19 +00:00
frontend Added support for secondary navigation (#11409) 2019-12-04 11:12:02 +07:00
server 🐛 Fixed 500 errors for incorrect Origin headers (#11433) 2019-12-04 18:06:30 +07:00
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
test Added support for secondary navigation (#11409) 2019-12-04 11:12:02 +07:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00