summaryrefslogtreecommitdiffstats
path: root/web/react/components/login.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-17 12:51:09 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-17 12:51:09 -0700
commite8a291741f41b0073a1df9bc88ee8f49d8c6971c (patch)
treee354286bc0b8639ad7b16271df760addf950a5bf /web/react/components/login.jsx
parent996f0d79a77744b701417e21881a2d09785d7494 (diff)
downloadchat-e8a291741f41b0073a1df9bc88ee8f49d8c6971c.tar.gz
chat-e8a291741f41b0073a1df9bc88ee8f49d8c6971c.tar.bz2
chat-e8a291741f41b0073a1df9bc88ee8f49d8c6971c.zip
Fixed issue with redirects not working on safari
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';
}