I'm developing a WPF app in C# that opens a link when a button is pressed that uses query strings to communicate some information. Right now, I use Process.start(myURL)
. When using Chrome as the default browser, the query string information gets stripped out. The same code works for IE/Chrome/Firefox on Windows 8 and for IE/Edge in Windows 10.
You can replicate the issue by running Process.Start("https://www.google.com/#q=cats");
, you won't even get one adorable cat picture.
EDIT: Thanks to @mjw, I've discovered that the problem is with my company's URL, which is something of the format https://mycompany.com/#/login?token=xxx
. So the new question, how can I use hash signs in my URLs? I've tried %23 in place of # with no success.