Punctuation characters, especially line breaks and double quotation marks are not being removed from the query strings