Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
2cbff3b5
Commit
2cbff3b5
authored
Jan 14, 2010
by
tbrehm
Browse files
Fixed: FS#1007 - add a stricter check for getmail domains names.
parent
b9c1de7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/form/mail_get.tform.php
View file @
2cbff3b5
...
...
@@ -80,6 +80,9 @@ $form["tabs"]['mailget'] = array (
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'source_server_error_isempty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{2,64}\.[a-zA-Z]{2,10}$/'
,
'errmsg'
=>
'source_server_error_regex'
),
),
'default'
=>
''
,
'value'
=>
''
,
...
...
interface/web/mail/lib/lang/en_mail_get.lng
View file @
2cbff3b5
...
...
@@ -12,4 +12,5 @@ $wb["source_server_error_isempty"] = 'Server is empty.';
$wb
[
"source_username_error_isempty"
]
=
'Username is empty.'
;
$wb
[
"source_password_error_isempty"
]
=
'Password is empty.'
;
$wb
[
"destination_error_isemail"
]
=
'No destination selected.'
;
$wb
[
"source_server_error_regex"
]
=
'Pop3/Imap Server is not a valid domain name.'
;
?>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment