Check for multimedia files using lower case

This commit is contained in:
Gregory Soutade 2022-11-12 18:59:54 +01:00
parent 2e955e5fe2
commit c9bc21a506

View File

@ -301,7 +301,7 @@ class IWLA(object):
def isMultimediaFile(self, request):
self.logger.debug("Is multimedia %s" % (request))
for e in conf.multimedia_files:
if request.endswith(e):
if request.lower().endswith(e):
self.logger.debug("True")
return True
self.logger.debug("False")