monkey patch for reverse proxy because of the url decoding issue