diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 7bdcf68885..ef85aca12f 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -133,7 +133,11 @@ export default class CreatePost extends React.Component { } if (data.goto_location && data.goto_location.length > 0) { - browserHistory.push(data.goto_location); + if (data.goto_location.startsWith('/')) { + browserHistory.push(data.goto_location); + } else { + window.open(data.goto_location); + } } }, (err) => {