| Summary | field type ipaddress check is broken |
| Queue | Horde Framework Packages |
| Queue Version | FRAMEWORK_3 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | horde (at) marinus (dot) nu |
| Created | 9/9/05 (7518 days ago) |
| Due | |
| Updated | 9/10/05 (7517 days ago) |
| Assigned | |
| Resolved | 9/10/05 (7517 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ field type ipaddress check is broken
Queue ⇒ Horde Framework Packages
the code will check only length>0; if you set required=false the code
will check for a valid ip address but will not allow an empty input.
to fix it replace line 1292 in file lib/Horde/Form.php from
} else {
to
} if (strlen(trim($value)) > 0) {