X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fedit.mc;h=e0cb6e76f0d5323202f34ded959c306d347f8564;hb=e0ae362748a39155af12add31d419f3f8fe67362;hp=4d926f668a9a1e18de27fe28e14a752955e15bc1;hpb=f3a397adb560c87e648fb7817daa64c3dea29167;p=irspy-moved-to-github.git diff --git a/web/htdocs/details/edit.mc b/web/htdocs/details/edit.mc index 4d926f6..e0cb6e7 100644 --- a/web/htdocs/details/edit.mc +++ b/web/htdocs/details/edit.mc @@ -68,9 +68,9 @@ if (!defined $id) { } elsif (!defined $newid) { # Tried to create new record but data is insufficient print qq[

- Please specify title, protocol, host, port and database name.

\n]; + Please specify name, protocol, host, port and database name.

\n]; undef $update; - } elsif ($host !~ /^\w+\.[\w.]*\w$/i) { + } elsif ($host !~ /^[\w-]+\.[\w.-]*\w$/i) { print qq[

This host name is not valid.

\n]; undef $update;