Commit 136a4f59 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #567 FD allows DNS entries with '_' (underscores) in hostnames

Showing with 1 addition and 1 deletion
+1 -1
......@@ -49,7 +49,7 @@ class tests {
/*! \brief Test if the given string contains characters allowed in a DNS name */
public static function is_dns_name($str)
{
return(preg_match("/^[a-z0-9\.\-_]*$/i",$str));
return(preg_match("/^[a-z0-9\.\-]*$/i",$str));
}
......
  • bmortier @bmortier

    mentioned in issue #217

    By mike.gabriel on 2017-09-02T14:40:26 (imported from GitLab)

    ·

    mentioned in issue #217

    By mike.gabriel on 2017-09-02T14:40:26 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment