Skip to content

Commit 0083edb

Browse files
committed
撤销PR315的变更
1 parent 026c521 commit 0083edb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/config_xml.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import (
88
// the value pointed to by v, which must be an arbitrary struct,
99
// slice, or string. Well-formed data that does not fit into v is
1010
// discarded.
11-
//
12-
// Security: This function uses xml.Decoder with strict settings to prevent
13-
// XXE (XML External Entity) attacks.
1411
func UnmarshalXML(content []byte, v interface{}) error {
1512
return xml.Unmarshal(content, v)
1613
}

0 commit comments

Comments
 (0)