title: Python MacOs Webbrowser deletes URL Parameters in Local Links
body: <p>I have a problem using webbrowser in python on MacOs. I am very confused about this, because in ubuntu this runs great.</p>
  <p>Following code snippet opens a browser windows with test.html, but the parameter q=1 is missing.
  If i open a link starting with &quot;https://...?q=1&quot; this works also fine.
  Could it be, that MacOs implementation of webbrowser deletes the URL parameters for links starting with &quot;file:///&quot;?</p>
  <p>Any suggestions of a platform independent solution for opening a local html file with URL parameters?</p>
  <pre><code>import webbrowser
  
  webbrowser.open_new(&quot;file:///Users/myname/test.html?q=1&quot;)
  </code></pre>
  <p>Thanks a lot and best regards
  Felix</p>