Skip to content

Commit

Permalink
fixed issue #28
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v committed Nov 13, 2022
1 parent f081f63 commit 6122498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion uro/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.4'
__version__ = '0.0.5'
8 changes: 4 additions & 4 deletions uro/uro.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ def main():
params_seen.extend(new_params)
if has_bad_ext(path) or re_content.search(path) or is_content(path):
continue
if (not params or has_new_param) and re_int.match(path):
if (not params or has_new_param) and re_int.search(path):
pattern = create_pattern(path)
if matches_patterns(path):
continue
if not pattern_exists(pattern):
patterns_seen.append(pattern)
elif path not in urlmap[host]:
elif matches_patterns(path):
continue
if path not in urlmap[host]:
urlmap[host][path] = [params] if params else []
elif has_new_param or compare_params(urlmap[host][path], params):
urlmap[host][path].append(params)
Expand Down

0 comments on commit 6122498

Please sign in to comment.