0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@836f36d873 Updated Ghost-Admin to 2.25.4 2019-07-01 13:31:22 +07:00
frontend 🐛 Fixed infinite redirect for amp when disabled 2019-07-08 17:32:12 +01:00
server Removed stray use of urlService.utils 2019-07-08 17:53:29 +02:00
test 🐛 Fixed infinite redirect for amp when disabled 2019-07-08 17:32:12 +01:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00