mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Fix: godaddy: key regex, fixing #169
This commit is contained in:
@@ -26,7 +26,7 @@ func NewMatcher() (m Matcher, err error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
matcher.goDaddyKey, err = regexp.Compile(`^[A-Za-z0-9]{8,14}\_[A-Za-z0-9]{22}$`)
|
||||
matcher.goDaddyKey, err = regexp.Compile(`^[A-Za-z0-9]{8,14}\_[A-Za-z0-9]{21,22}$`)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user