Ghost/core/server/web/middleware
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
..
api Extended ghost version utility (#9278) 2018-01-03 20:20:18 +01:00
validation 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
admin-redirects.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
brute.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
cache-control.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
custom-redirects.js Moved validateRedirects helper to data/validation 2017-12-14 11:55:10 +01:00
error-handler.js Fixed bad references to common.i18n (#9402) 2018-01-17 17:28:42 +01:00
frontend-client.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
ghost-locals.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
log-request.js Import lib/common only 2017-12-12 10:28:13 +01:00
maintenance.js Import lib/common only 2017-12-12 10:28:13 +01:00
pretty-urls.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
serve-favicon.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
serve-public-file.js Always require fs-extra - consistency change 2017-12-13 20:57:11 +01:00
static-theme.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
uncapitalise.js Moved removeOpenRedirectFromUrl to local web utils 2017-12-13 22:06:31 +01:00
url-redirects.js 🐛 Fixed infinite redirect when subdirectory equals top level domain (#9621) 2018-05-28 12:18:34 +02:00