decodes some special chars in a URL query

Solves #12200