Skip to content

Invalid server IPs are accepted by the Conditional Forward table interface #3829

Description

@rdwebdesign

Versions

  • Web v6.6

Expected behavior

The interface should reject invalid server IPs, just like FTL does.

Actual behavior / bug

FTL expects just a server IP, but the validation on the table interface allows a network range (CIDR) in the server IP column and stores the invalid entry on the hidden textarea (#dns.revServers).

The issue happens when the function sends the invalid value to FTL. FTL rejects the value and returns an error message.

Additional context

See this post: https://discourse.pi-hole.net/t/conditional-forwarding-bug-or-am-i-stupid/87055/10?u=rdwebdesign

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions