Fixed issue with redirects not working on safari

Этот коммит содержится в:
Reed Garmsen
2015-08-17 12:51:09 -07:00
родитель 996f0d79a7
Коммит e8a291741f

Просмотреть файл

@@ -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';
}