From 7174bfea73174b81b341b1e163a729a5050a81dd Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Tue, 11 Sep 2018 10:26:06 +0200 Subject: [PATCH] Make the check case-insensitive --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 1fc84eb..a9d0457 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -6845,7 +6845,7 @@ class TCPDF { if ($wrapper === 'http' || $wrapper === 'https') { continue; } - if (strpos($file, $wrapper.'://') === 0) { + if (stripos($file, $wrapper.'://') === 0) { $this->Error('Stream wrappers in file paths are not supported'); } }