Fix #1477 프로토콜 상대주소 처리 개선

This commit is contained in:
Kijin Sung 2015-05-19 15:02:03 +09:00
parent aa8ef86106
commit 38744d7088

View file

@ -347,7 +347,7 @@ class FrontEndFileHandler extends Handler
}
elseif(!strncmp($path, '//', 2))
{
return $path;
return preg_replace('#^//+#', '//', $path);
}
$path = preg_replace('@/\./|(?<!:)\/\/@', '/', $path);