Skip to content

Commit 7562f43

Browse files
author
bnu
committed
Merge pull request #1478 from kijin/fix/relative-url
Fix #1477 프로토콜 상대주소 처리 개선
2 parents 1c5b797 + 38744d7 commit 7562f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/frontendfile/FrontEndFileHandler.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function _normalizeFilePath($path)
347347
}
348348
elseif(!strncmp($path, '//', 2))
349349
{
350-
return $path;
350+
return preg_replace('#^//+#', '//', $path);
351351
}
352352

353353
$path = preg_replace('@/\./|(?<!:)\/\/@', '/', $path);

0 commit comments

Comments
 (0)