URL encodes query string values on server-side