summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-08-17 14:53:55 -0700
committerCorey Hulen <corey@hulen.com>2015-08-17 14:53:55 -0700
commita5bff83558c737645c4a3d516047403f69080c2d (patch)
treee354286bc0b8639ad7b16271df760addf950a5bf /web/react
parent996f0d79a77744b701417e21881a2d09785d7494 (diff)
parente8a291741f41b0073a1df9bc88ee8f49d8c6971c (diff)
downloadchat-a5bff83558c737645c4a3d516047403f69080c2d.tar.gz
chat-a5bff83558c737645c4a3d516047403f69080c2d.tar.bz2
chat-a5bff83558c737645c4a3d516047403f69080c2d.zip
Merge pull request #388 from rgarmsen2295/mm-1785
MM-1785 Fixed issue with login redirects not working on safari
Diffstat (limited to 'web/react')
-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';
}