Fix: reject malformed domain rules (#3917)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Loyalsoldier <[email protected]>
This commit is contained in:
1 parent
21f09bcdba
commit
e449533a4a
3 files changed
+35
-3
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ func exportSite(name string, gs *GeoSites) error {
|
||||
}
|
||||
defer file.Close()
|
||||
w := bufio.NewWriter(file)
|
||||
fmt.Fprintf(w, "%s:\n", name)
|
||||
fmt.Fprintf(w, "%q:\n", name)
|
||||
var b strings.Builder
|
||||
b.Grow(64)
|
||||
for _, vdomain := range vDomains {
|
||||
|
||||
Reference in new issue
Block a user