Project

General

Profile

« Previous | Next » 

Revision c91be02b

Added by Viktor Gurov over 4 years ago

Nested alias IDN fix. Issue #10968

View differences:

src/etc/inc/pfsense-utils.inc
2392 2392
	$comments = array();
2393 2393
	/* NOTE: fgetss() is not a typo RTFM before being smart */
2394 2394
	while (($fc = fgetss($fd)) !== FALSE) {
2395
		$tmp = idn_to_ascii(trim($fc, " \t\n\r"));
2395
		$tmp = alias_idn_to_ascii(trim($fc, " \t\n\r"));
2396 2396
		if (empty($tmp)) {
2397 2397
			continue;
2398 2398
		}

Also available in: Unified diff