JGeek00 / droid-hole

Pi-hole® client made with Flutter
Apache License 2.0
135 stars 11 forks source link

Relax IP/Domain Validation #22

Closed d1vanloon closed 1 year ago

d1vanloon commented 1 year ago

Summary

When adding a new connection, the validation on the "IP address or domain" field is too restrictive. For example, my Pi-Hole is reachable via a single-word hostname (e.g. http://pihole). This value, though correct, is rejected by the field validation.

Suggested Change

Relax the validation on the "IP address or domain" field when adding a new connection to allow single-word hostnames.

JGeek00 commented 1 year ago

Hi. Please check if this works for you.

app-release.apk.zip

JGeek00 commented 1 year ago

Changed on v3.9.0.