Remove symbols from query string