mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
honor enforce=False (fix #235)
This commit is contained in:
parent
c91f14476d
commit
016cd0d300
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ class Parser(Doc):
|
|||
|
||||
path = os.path.normpath(path)
|
||||
cond = [path.startswith(x) for x in self.backend.includes]
|
||||
if not any(cond):
|
||||
if not any(cond) and self.backend.enforce:
|
||||
self.logger.warning(
|
||||
'Tried to access non-allowed path: {}'.format(path)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue