Closed GoldenBadger closed 8 years ago
Which list? dirsearch only replaces the keyword %EXT% from the dictionary.
Because of that, If you provides '' as extension with the following dictionary: index.%EXT%
I will try the path: index.
And that's how it works
If you make the extensions option a string the program doesn't recognise, such as
''
orfoo
, it defaults to running searches for all of the extensions in its list. Is this the intended behaviour or should it fail when given invalid extensions? I'd be happy to implement this fix myself once I know what the intended behaviour is.