Changed url encoding to support quotes

Exact queries can't be made with the old system that replaces " with '