Browse Source

Removed unnecessary special case for question mark in extension #482

Tobias Reich 8 years ago
parent
commit
e1056d1fc6
1 changed files with 0 additions and 1 deletions
  1. 0 1
      php/helpers/getExtension.php

+ 0 - 1
php/helpers/getExtension.php

@@ -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;