Ghost/core
Hannah Wolfe 6dc3f1bf56
Removed versioning from api-key/admin auth
refs: https://github.com/TryGhost/Toolbox/issues/229

- our api-key audience handling code is still relying on internal api version config
- the regex used is also buggy (it expects 3 parts, which isn't true without versions) and doesn't always match, in which case it can cause the tests to hang
- we already had some very similar code in the version-rewrite middleware which is also validates exact values for version and api type
- moved this code into a util inside api-version-compatibility-service
- using this code, all the tests still pass as is, but when I start to adjust them to cover more cases, none hang (test changes coming in a separate commit)
2022-05-06 08:09:54 +01:00
..
client@5751899e5b Updated Admin to v4.46.0 2022-04-28 15:29:18 +01:00
frontend 🔥 Removed {{author}} helper support 2022-05-02 17:59:48 +08:00
server Removed versioning from api-key/admin auth 2022-05-06 08:09:54 +01:00
shared Update dependency @tryghost/url-utils to v3 (#14705) 2022-05-05 16:10:18 +01:00
app.js Fixed express app stacking 2021-12-06 21:28:53 +13:00
boot.js Update dependency @tryghost/url-utils to v3 (#14705) 2022-05-05 16:10:18 +01:00
bridge.js Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00