Project

General

Profile

« Previous | Next » 

Revision 9a4f7ab0

Added by Sjon Hortensius over 10 years ago

Convert fw_alias_import, 2 minor bugfixes in other files

fixes #44

View differences:

usr/local/www/firewall_aliases_edit.php
257 257
		// Users can paste strings like "10.1.2.0/24 10.3.0.0/16 9.10.11.0/24" into an address box.
258 258
		// They can also put an IP range.
259 259
		// This loop expands out that stuff so it can easily be validated.
260
var_dump($_POST['address']);
261 260
			foreach ($_POST['address'] as $idx => $post_address) {
262 261
				if ($post_address != "") {
263 262
					if ((strpos($post_address, "||") === false) && (substr($post_address, 0, 1) != "|") && (substr($post_address, -1, 1) != "|")) {

Also available in: Unified diff