Ghost/core/test/functional
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
..
module 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
routes 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00