0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/web/shared/middlewares
Timothy Stapleton f2e60806da 🐛 Fixed redirects to absolute URLs (#10777)
closes #10776

When the "to" property of the redirect includes a host (implying an external or fully qualified url) we skip replacing any paths and redirect straight to it, rather than modifying the URL with the sites sub-directory.
2019-06-10 12:48:37 +07:00
..
api
image
validation Changed error type for missing file in /uploads 2019-02-14 20:52:51 +00:00
admin-redirects.js
brute.js
cache-control.js
custom-redirects.js 🐛 Fixed redirects to absolute URLs (#10777) 2019-06-10 12:48:37 +07:00
emit-events.js
error-handler.js 🐛 Fixed admin error page on startup 2019-04-01 15:06:00 +08:00
frontend-client.js
ghost-locals.js
index.js
labs.js Refactored labs middleware to remove duplication 2019-04-24 12:46:00 +02:00
log-request.js
maintenance.js
pretty-urls.js
serve-favicon.js
serve-public-file.js Exported raw middleware from serve-public-file 2019-04-24 12:46:00 +02:00
static-theme.js
uncapitalise.js
update-user-last-seen.js
upload.js
url-redirects.js