mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-05-06 17:26:44 +07:00
Fix: attribute prefix (#79)
This commit is contained in:
@@ -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