summaryrefslogtreecommitdiffstats
path: root/web/react/components/login.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/login.jsx')
-rw-r--r--web/react/components/login.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx
index fe0a47777..eba4f06f4 100644
--- a/web/react/components/login.jsx
+++ b/web/react/components/login.jsx
@@ -50,7 +50,7 @@ module.exports = React.createClass({
var redirect = utils.getUrlParameter("redirect");
if (redirect) {
- window.location.pathname = decodeURI(redirect);
+ window.location.pathname = decodeURIComponent(redirect);
} else {
window.location.pathname = '/' + name + '/channels/town-square';
}