diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php
index aaad7d7343742717b3d6b09d5ca08678e077ce95..71a29e292025905f7edf1fdbbe2be3b239719443 100644
--- a/ecrire/inc/utils.php
+++ b/ecrire/inc/utils.php
@@ -429,7 +429,8 @@ function tester_url_absolue($url) {
 	$url = trim($url);
 	if (preg_match(";^([a-z]{3,7}:)?//;Uims", $url, $m)) {
 		if (isset($m[1])
-			and in_array(rtrim($m[1], ':'), array('file', 'php', 'zlib', 'glob', 'phar', 'ssh2', 'rar', 'ogg', 'expect'))
+			and $p = strtolower(rtrim($m[1], ':'))
+			and in_array($p, array('file', 'php', 'zlib', 'glob', 'phar', 'ssh2', 'rar', 'ogg', 'expect'))
 		  ) {
 			return false;
 		}