Ghost/test/unit/frontend/services/routing
Hannah Wolfe b29852b012
🔥 Removed support for http/https mixed mode (#14783)
closes: https://github.com/TryGhost/Toolbox/issues/324
refs: https://github.com/TryGhost/Ghost/issues/14446

- Currently, if url is configured to http but a request is marked secure, Ghost will handle upgrading all internal URLs to https so that there are no mixed content warnings
- From 5.0 that feature is going away, in favour of strictly honouring the configured URL
- Ghost will serve URLs exactly as configured and won't upgrade http to https anymore
- This use case was common when Ghost was first built, but in 2022 the web is mostly https.
- The code needed to support the feature creates a lot of additional complexity & maintenance overhead, so removing this gives us space to do more cool and useful stuff in 2022
2022-05-11 14:53:23 +01:00
..
controllers 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
middlewares Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
bootstrap.test.js Renamed bootstrap to routerManager 2021-10-19 07:29:09 +13:00
CollectionRouter.test.js Extracted an explicit "filter" parameter in UrlGenerator constructor 2021-11-15 18:32:34 +04:00
ParentRouter.test.js Removed unnecessary checks in unit test suites 2021-10-19 07:29:09 +13:00
registry.test.js Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
RSSRouter.test.js Removed unnecessary checks in unit test suites 2021-10-19 07:29:09 +13:00
StaticRoutesRouter.test.js Extracted an explicit "filter" parameter in UrlGenerator constructor 2021-11-15 18:32:34 +04:00
TaxonomyRouter.test.js Removed versioned routing configs 2022-04-28 15:35:28 +01:00