0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test
Hannah Wolfe ce563179b8 🐛 Fixed infinite redirect for amp when disabled
fixes 10883

- fixed an issue where /amp/ pages would cause an infinite redirect loop
- this only occurred when amp was disabled, and query params were passed to the /amp/ url
- this fix resolves the issue by not assuming /amp/ is the end of the URL
- it also checks for `/amp/` (both slashes) and replaces one
2019-07-08 17:32:12 +01:00
..
acceptance Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
regression 🐛 Fixed infinite redirect for amp when disabled 2019-07-08 17:32:12 +01:00
unit Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
utils Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
.eslintignore Moved grunt-eslint to npm script executing eslint (#10474) 2019-02-11 13:26:06 +01:00
.eslintrc.json
.jshintrc