mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Handle multiple colons in LDIF config file
https://sourceforge.net/tracker/index.php?func=detail&aid=3433993&group_id=17457&atid=117457#
This commit is contained in:
@@ -265,7 +265,7 @@ foreach my $file (&recursive_find_ldif($config{'config_file'})) {
|
||||
while(<CONFIG>) {
|
||||
s/\r|\n//g;
|
||||
s/^#.*$//;
|
||||
if (/^(\S+):\s*(.*)/) {
|
||||
if (/^([^: \t]+):+\s*(.*)/) {
|
||||
# Start of a directive
|
||||
local $dir = { 'file' => $file,
|
||||
'line' => $lnum,
|
||||
|
||||
Reference in New Issue
Block a user