From 69ab047f89359c21c60cd2eb42d62198b6d11b27 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 7 Dec 2015 18:08:00 +0100 Subject: [PATCH] Redirect to correct URL after updating Now requires a trailing slash to make sure we don't land on the forbidden page. --- core/js/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/update.js b/core/js/update.js index 090f8fa5d2..1626b6f2c4 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -84,7 +84,7 @@ .append(t('core', 'The update was successful. Redirecting you to ownCloud now.')) .appendTo($el); setTimeout(function () { - OC.redirect(OC.webroot); + OC.redirect(OC.webroot + '/'); }, 3000); } });