Commit 3b2c2699fe21e5449950db42742e76760fa2a78c

Authored by markotikvic
1 parent 33fd58161a
Exists in master and in 1 other branch v2

minor changes, should update dependant apps

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -4,7 +4,7 @@ import (
4 4 "strings"
5 5 )
6 6  
7   -func SQLProtect(in string) string {
  7 +func SQLSafeString(in string) string {
8 8 patern := "\"';&*<>=\\`:"
9 9 for _, c := range patern {
10 10 in = strings.Replace(in, string(c), "", -1)
... ...