Parcourir la source

Remove forgotten punycode line

Alexandre Alapetite il y a 8 ans
Parent
commit
1cf545342e
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      lib/lib_rss.php

+ 0 - 1
lib/lib_rss.php

@@ -68,7 +68,6 @@ function idn_to_puny($url) {
 			} else {
 				$puny = idn_to_ascii($idn);
 			}
-			$puny = idn_to_ascii($idn);
 			$pos = strpos($url, $idn);
 			if ($pos !== false) {
 				return substr_replace($url, $puny, $pos, strlen($idn));