Skip to content

Commit

Permalink
fix(electron): Need to decode URI's when overriding window open handl…
Browse files Browse the repository at this point in the history
…ers.
  • Loading branch information
imlucas committed Aug 25, 2015
1 parent 401d61b commit 0754566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron/window-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports.create = function(opts) {
debug('got new-window event!', event, url, frameName, disposition);
event.preventDefault();
module.exports.create({
url: 'file://' + RESOURCES + '/index.html' + url.replace('file://', '')
url: 'file://' + RESOURCES + '/index.html' + decodeURIComponent(url.replace('file://', ''))
});
});

Expand Down

0 comments on commit 0754566

Please sign in to comment.