pwnall/node-open

Strips querystring from URL if it precedes with # in Windows 10 - Chrome

codef0rmer opened this issue · 0 comments

Following code works fine - opens the exact URL in chrome.

var open = require("open");
open('http://codef0rmer.github.io/eShell/index.html#/1?name=foobar', 'chrome');

However, if Chrome is a default browser and it's not mentioned then both hash and querystrings are stripped.

var open = require("open");
open('http://codef0rmer.github.io/eShell/index.html#/1?name=foobar');