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
-3
View File
@@ -27,8 +27,6 @@ import (
"github.com/graymeta/stow"
"github.com/pkg/errors"
"go.uber.org/zap"
"github.com/fission/fission/pkg/utils"
)
type (
@@ -175,7 +173,6 @@ func (client *StowClient) copyFileToStream(fileId string, w io.Writer) error {
return ErrWritingFileIntoResponse
}
fileId = utils.EscapeQuotes(fileId)
client.logger.Debug("successfully wrote file into httpresponse", zap.String("file", fileId))
return nil
}