Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed Sep 22, 2024
1 parent 4df71ea commit ec64484
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions karton_sqlmap/karton_sqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,7 @@ def run(self, current_task: Task) -> None:

new_url = new_url.split("#")[0]

if any(
new_url.split("?")[0].lower().endswith(extension)
for extension in STATIC_EXTENSIONS
):
if any(new_url.split("?")[0].lower().endswith(extension) for extension in STATIC_EXTENSIONS):
# Let's not inject image/style paths
continue

Expand Down

0 comments on commit ec64484

Please sign in to comment.