Random Project

Hostname check missing ‘_’ character

We are using some DNS name which contains the character ‘_’. Version 0.6.6 don’t permit the usage of ‘_’ and so, have to update it.

To do so, update this line :
———————
if (!preg_match(“/^([a-zA-Z0-9-.]+)$/”, $db_host)) {
———————

by this one :
————–
if (!preg_match(“/^([a-zA-Z0-9-._]+)$/”, $db_host)) {
————–