title: prevent url string to encode & to &amp;
body: <p>I am using cakephp ajax pagination for my web application.</p>
  
  <p>In this application i have implemented search filters also. When user filter the records, i submit the search form using GET method, in controller i get the filter variables and append them to the paginator helper like this.</p>
  
  <pre><code>$this-&gt;paginator-&gt;options(array(
      'url' =&gt; array_merge($this-&gt;passedArgs, array('?'=&gt; $query_string)), 
      'update' =&gt; '#tlist', 
      'evalScripts' =&gt; true)
  );
  </code></pre>
  
  <p>My problem is that in my pagination link my all &amp; is get converted into &amp; See below and look at the bold part. </p>
  
  <p><code>&lt;a href="/sites/tutor/users/ajaxtutor/page:2?gender%5B0%5D=1</code>&amp;<code>gender%5B1%5D=2" id="link-1795722171" /&gt;;</code></p>
  
  <p>And when i click on the link i do get query String as below:</p>
  
  <pre><code>[gender] =&gt; Array
          (
              [0] =&gt; 1
          )
  [amp;gender] =&gt; Array
          (
              [1] =&gt; 2
          )
  </code></pre>
  
  <p>how to remove this extra <code>amp;</code> from the query string.</p>
  
  <p>Can anybody help how to cope with this situation.</p>