bugfix: query string can also have arrays

e.g. http://www.example.com/?array[key]=value = http://www.example.com/?array%5Bkey%5D=value