mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-11-06 07:31:16 +02:00
Fix: attribute prefix (#79)
This commit is contained in:
1 parent
54da5452cc
commit
31595ff3f9
1 file changed
+1
-1
@@ -106,7 +106,7 @@ func parseAttribute(attr string) (*router.Domain_Attribute, error) {
|
||||
return &attribute, errors.New("invalid attribute: " + attr)
|
||||
}
|
||||
|
||||
attr = attr[0:]
|
||||
attr = attr[1:]
|
||||
parts := strings.Split(attr, "=")
|
||||
if len(parts) == 1 {
|
||||
attribute.Key = strings.ToLower(parts[0])
|
||||
|
||||
Reference in new issue
Block a user