Aaaaaand typo >_>

This commit is contained in:
Alexandre Aubin 2021-10-10 16:39:12 +02:00
parent e07d9c5133
commit 6a818a28c5

View file

@ -904,7 +904,7 @@ class Configurations(TestSuite):
alias_path = alias[-1]
# Ugly hack to ignore cases where aliasing to a specific file (e.g. favicon.ico or foobar.html)
if "." in alias_path[-5]:
if "." in alias_path[-5:]:
continue
# For path traversal issues to occur, both of those are needed: