Revert "Added function to sanitize strings by escaping quotes (#2360)" (#2367)

This reverts commit fe5e5f592b.
This commit is contained in:
Ankit Chawla
2022-02-21 15:34:38 +05:30
committed by GitHub
parent fe5e5f592b
commit 1d22b7596c
7 changed files with 1 additions and 61 deletions
-2
View File
@@ -295,7 +295,6 @@ func (roundTripper *RetryingRoundTripper) RoundTrip(req *http.Request) (*http.Re
req.URL.Path = "/"
}
req.URL.Path = utils.EscapeQuotes(req.URL.Path)
logger.Debug("function invoke url",
zap.String("prefixTrim", prefixTrim),
zap.Bool("keepPrefix", keepPrefix),
@@ -387,7 +386,6 @@ func (roundTripper *RetryingRoundTripper) RoundTrip(req *http.Request) (*http.Re
// Check whether an error is an timeout error ("dial tcp i/o timeout").
if isNetTimeoutErr {
req.URL.Host = utils.EscapeQuotes(req.URL.Host)
logger.Debug("request errored out - backing off before retrying",
zap.String("url", req.URL.Host),
zap.Error(err))