title: Allow empty query string in .htaccess (like server/param1//param3/)
body: <p>I've got this htaccess:</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^((.|\r|\n)+)/? index.php?params=$1 [L,NC]
  </code></pre>
  
  <p>It allows me to send unlimited parameters to index.php, wich receives them inside the params array.
  Linebreaks ('\r' / '\n') are allowed.</p>
  
  <p>The problem I'm having is that when I send <strong>server/param1/param2/param3</strong>, $_GET['params'] will look like:</p>
  
  <pre><code>Array ( [0] =&gt; param1 [1] =&gt; param2 [2] =&gt; param3 )
  </code></pre>
  
  <p>But I send <strong>server/param1//param3</strong>, $_GET['params'] misses one key:</p>
  
  <pre><code>Array ( [0] =&gt; param1 [1] =&gt; param3 )
  </code></pre>
  
  <p>I want the server to answer with an empty value, not a deleted key:</p>
  
  <pre><code>Array ( [0] =&gt; param1 [1] =&gt; [2] =&gt; param3 )
  </code></pre>