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 ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00