title: Why does "?a=a" get added to the back of my URL on GET?
body: <p>I use a post GET request with <code>action=&quot;/sact/${searchp}/&quot;</code> in order to submit an user search query.</p>
  <pre><code>var searchp = search.querySelector(&quot;input.search-input&quot;).value;
  // returns the normal value
  
  document.body.innerHTML += `&lt;form id=&quot;jsForm&quot; action=&quot;/sact/${search}/&quot; method=&quot;GET&quot;&gt;&lt;input type=&quot;hidden&quot; name=&quot;a&quot; value=&quot;a&quot;&gt;&lt;/form&gt;`;
  document.getElementById(&quot;jsForm&quot;).submit();
  </code></pre>
  <p>This redirects here:</p>
  <pre><code>router.get('/sact/:where', async (req, res, next) =&gt; {
    res.render('search');
  });
  </code></pre>
  <p>I can't figure out why /?a=a gets added to the back of the URL every time it gets submitted. How do I remove it?</p>