Skip to content

Commit

Permalink
Revert "Remove quote translation"
Browse files Browse the repository at this point in the history
This reverts commit f9308c3.
  • Loading branch information
loafoe committed Oct 22, 2020
1 parent f9308c3 commit 36a1649
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions logging/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ var (
entryRegex = regexp.MustCompile(`^entry\[(\d+)]`)

scaryMap = map[string]string{
";": "[sc]",
"&": "[amp]",
">": "[gt]",
"<": "[lt]",
"\\u": "[utf]",
"\\f": "[ff]",
";": "[sc]",
"&": "[amp]",
">": "[gt]",
"<": "[lt]",
"\\u": "[utf]",
"\\f": "[ff]",
"\\\"": "[qt]",
}
)

Expand Down

0 comments on commit 36a1649

Please sign in to comment.