Project

General

Profile

« Previous | Next » 

Revision 48a15754

Added by Viktor Gurov over 5 years ago

URL/URL Table alias with IDN hostnames. Issue #10321

View differences:

src/etc/inc/pfsense-utils.inc
2383 2383
	$comments = array();
2384 2384
	/* NOTE: fgetss() is not a typo RTFM before being smart */
2385 2385
	while (($fc = fgetss($fd)) !== FALSE) {
2386
		$tmp = trim($fc, " \t\n\r");
2386
		$tmp = idn_to_ascii(trim($fc, " \t\n\r"));
2387 2387
		if (empty($tmp)) {
2388 2388
			continue;
2389 2389
		}

Also available in: Unified diff