providers/strings: stripSlashes now removes backslashes too
This commit is contained in:
parent
961f7187e9
commit
b974fde7e4
@ -69,5 +69,5 @@ func funcStripNonPrintables (input string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func funcStripSlashes (input string) string {
|
func funcStripSlashes (input string) string {
|
||||||
return strings.ReplaceAll(input, "/", "")
|
return funcStripAny("/\\", input)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user