Skip to content

Commit 96f31df

Browse files
author
Marius Burkard
committed
- fixed problem with ipv6 set to *
1 parent b01718a commit 96f31df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ function update($event_name, $data) {
17091709
$data['new']['ipv6_address'] = implode(':', $explode_v6);
17101710
}
17111711
}
1712-
1712+
if($data['new']['ipv6_address'] == '*') $data['new']['ipv6_address'] = '::';
17131713
$tmp_vhost_arr = array('ip_address' => '['.$data['new']['ipv6_address'].']', 'ssl_enabled' => 0, 'port' => 80);
17141714
if(count($rewrite_rules) > 0) $tmp_vhost_arr = $tmp_vhost_arr + array('redirects' => $rewrite_rules);
17151715
if(count($alias_seo_redirects) > 0) $tmp_vhost_arr = $tmp_vhost_arr + array('alias_seo_redirects' => $alias_seo_redirects);

0 commit comments

Comments
 (0)