Cannot fetch URL alias
-
Using:
2.1-BETA0 (i386) (embedded)
built on Wed Aug 22 14:52:49 EDT 2012
FreeBSD 8.3-RELEASE-p4Getting this error:
php: : The command '/usr/bin/fetch -T 5 -q -o "/tmp/alias_importWWXzTZ/aliases" "Array"' returned exit code '1', the output was 'fetch: Array: No such file or directory
Thanks,
-
That seems to suggest you somehow have multiple URLs in an alias… I didn't think the GUI allowed you do to that.
-
Just looked at the code and apparently the code in "firewall_aliases_edit.php" allows multiple urls and will create arrays.
e.g. (line 241) $alias['aliasurl'][] = $_POST['address' . $x];
while the update_alias_url_data() function in "pfsense-utils.inc" cannot handle arrays.
Edit: should be fixed in the next snapshot or so
-
i got only one url in the alias
-
seem to be fixed with this commit
https://github.com/bsdperimeter/pfsense/commit/2ef160144f2232e89810023c63af99c2b476fe86