c0471f0c28
ref https://linear.app/tryghost/issue/ONC-242/frontend-routing-prioritizes-collections-over-taxonomies - Under a fairly specific edge case with a collection route that conflicts with a default, built-in route ("taxonomy" — like tags, authors, etc), the frontend routing would prioritize the collection over the taxonomy. - For example, with the following in a custom `routes.yaml`: ``` collections: /: permalink: /{primary_tag}/{slug}/ template: index ``` If a post exists with the same slug as its primary tag's slug, the frontend routing would redirect the `/tag/{slug}/` route to the post in the collection, rather than serving the tag itself. - This commit changes that, so if a collection's route conflicts with e.g. a `/tag/{slug}/` default route, Ghost will still return the built in route, rather than the collection. |
||
---|---|---|
.. | ||
agents | ||
fixtures | ||
mocks | ||
admin-utils.js | ||
api.js | ||
assertions.js | ||
batch-email-utils.js | ||
configUtils.js | ||
db-utils.js | ||
e2e-framework-mock-manager.js | ||
e2e-framework.js | ||
e2e-utils.js | ||
fixture-utils.js | ||
index.js | ||
mocha-retry-reporter.js | ||
overrides.js | ||
redirects.js | ||
stripe-mocker.js | ||
url-service-utils.js | ||
urlUtils.js |