mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Aaaaaand typo >_>
This commit is contained in:
parent
e07d9c5133
commit
6a818a28c5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue