title: site urls with htmlentities are not handled properly
body: <p>The issue is pretty straightforward -- on my site, URLs with ampersands that have been converted to the htmlentity <code>&amp;amp;</code> are not interpreted correctly.</p>
  <p>For example, the following two URLs should render identically:</p>
  <ul>
  <li><code>https://example.com/index.php?param=1&amp;var=value</code></li>
  <li><code>https://example.com/index.php?param=1&amp;amp;var=value</code></li>
  </ul>
  <p>...but they do not. The second URL does not treat var=value as a query param because it doesn't treat <code>&amp;amp;</code> as &amp;.</p>
  <p>I'm not sure where the breakdown is. Is this an Apache issue (running Centos 7.8)? Possibly a problem with the .htaccess rules? Something with the site itself?</p>