Ghost/core/server/api
kirrg001 79959d9581 🐛 Fixed public api access on custom domain
no issue

- if you blog runs on a custom domain, but your admin panel is configured using a different domain
  -> Ghost losts the origin header
- we had this situation once with pretty urls (your request get's redirected from /posts to /posts/, see https://github.com/TryGhost/Ghost/pull/8094)
- we've moved all our redirect logic to Ghost and ran into the same situation
- i've added proper test to ensure it won't happen again
2017-09-14 07:55:14 +07:00
..
app.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
authentication.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
clients.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
configuration.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
db.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
index.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
invites.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
mail.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
middleware.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
notifications.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
posts.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
roles.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
routes.js Add ghost-backup client to trigger export (#8911) 2017-08-22 11:15:40 +01:00
schedules.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
settings.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
slack.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
slugs.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
subscribers.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
tags.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
themes.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
upload.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
users.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
utils.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00