Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Judah - MW
ISPConfig 3
Commits
6b17bf5f
Commit
6b17bf5f
authored
Aug 17, 2022
by
Marius Burkard
Committed by
Judah - MW
Aug 17, 2022
Browse files
Fix leading dot check
@pixcept
parent
22635140
Pipeline
#11857
passed with stage
in 7 minutes and 13 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/functions.inc.php
View file @
6b17bf5f
...
...
@@ -335,7 +335,7 @@ class functions {
}
// idn_to_* chokes on leading dots, but we need them for amavis, so remove it for later
if
(
s
trpos
(
$domain
,
'.'
)
==
0
)
{
if
(
s
ubstr
(
$domain
,
0
,
1
)
==
=
'.'
)
{
$leading_dot
=
true
;
$domain
=
substr
(
$domain
,
1
);
}
else
{
...
...
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