We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 381da0f commit 50ac67fCopy full SHA for 50ac67f
1 file changed
src/Dflydev/ApacheMimeTypes/PhpRepository.php
@@ -1791,6 +1791,7 @@ public function dumpTypeToExtensions()
1791
*/
1792
public function findExtensions($type)
1793
{
1794
+ $type = strtolower($type);
1795
if (isset($this->typeToExtensions[$type])) {
1796
return $this->typeToExtensions[$type];
1797
}
@@ -1803,6 +1804,7 @@ public function findExtensions($type)
1803
1804
1805
public function findType($extension)
1806
1807
+ $extension = strtolower($extension);
1808
if (isset($this->extensionToType[$extension])) {
1809
return $this->extensionToType[$extension];
1810
0 commit comments