Ghost/core/server/services/url
Kevin Ansfield 6c1e5511fc 🐛 Fixed infinite redirect when subdirectory equals top level domain (#9621)
closes https://github.com/TryGhost/Ghost/issues/9620

- adjust the `deduplicateSubDir` function's regex to only match duplicate subdirectories when the `url` is only a path rather than full url or the duplicate match starts with a `/`
2018-05-28 12:18:34 +02:00
..
index.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Queue.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Resource.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Resources.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
UrlGenerator.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Urls.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
UrlService.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
utils.js 🐛 Fixed infinite redirect when subdirectory equals top level domain (#9621) 2018-05-28 12:18:34 +02:00