Removed unnecessary special case for question mark in extension #482
This commit is contained in:
parent
b5c000ee72
commit
e1056d1fc6
@ -14,7 +14,6 @@ function getExtension($filename, $isURI = false) {
|
||||
// Special cases
|
||||
// https://github.com/electerious/Lychee/issues/482
|
||||
list($extension) = explode(':', $extension, 2);
|
||||
list($extension) = explode('?', $extension, 2);
|
||||
|
||||
if (empty($extension)===false) $extension = '.' . $extension;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user