I have a link on a view like this
<a href="playlists/add?video[]=0&video[]=4&video[]=1" id="save_playlist">Save Playlist</a>
However, when it is clicked I am redirected to
/playlists/add/video[]=0&video[]=4&video[]=1
and the output of $this->params['url'] is
Array ( [url] => playlists/add/video[]=0 [video] => Array ( [0] => 4 [1] => 1 ) )
instead of
Array ( [url] => playlists/add/ [video] => Array ( [0] => 0 [1] => 4 [2] => 1 ) )
I can't work out why the firs parameter is always read as part of the url, nor why the leading ? is removed