fix query_param encoding
Merge pull request #808 from xi/feature-query-encoding

fix query_param encoding