mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Trim spaces out to avoid problems from explode.
This commit is contained in:
parent
ad6df0b3ca
commit
b0eaa10cda
@ -1070,7 +1070,7 @@ function filter_generate_reflection($rule, $nordr, $rdr_ifs, $srcaddr, $dstaddr_
|
||||
$socktype = "stream";
|
||||
$dash_u = "";
|
||||
}
|
||||
$target = explode(" ", $target);
|
||||
$target = explode(" ", trim($target));
|
||||
foreach ($target as $targip) {
|
||||
if (empty($targip))
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user