You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pegs the CPU at 100%, probably an infinite loop in werkzeug 2.2.0's new router, pallets/werkzeug#2433 . It gets stuck parsing the rule, eg:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../flask/scaffold.py", line 56, in wrapper_func
return f(self, *args, **kwargs)
File ".../flask/app.py", line 1086, in add_url_rule
self.url_map.add(rule)
File ".../werkzeug/routing/map.py", line 174, in add
rule.bind(self)
File ".../werkzeug/routing/rules.py", line 554, in bind
self.compile()
File ".../werkzeug/routing/rules.py", line 655, in compile
self._parts.extend(self._parse_rule(rule))
File ".../werkzeug/routing/rules.py", line 590, in _parse_rule
match = _part_re.match(rule, pos, endpos)
The text was updated successfully, but these errors were encountered:
Example:
([^/:]+\.[^/:]+)
Repro:
Pegs the CPU at 100%, probably an infinite loop in werkzeug 2.2.0's new router, pallets/werkzeug#2433 . It gets stuck parsing the rule, eg:
The text was updated successfully, but these errors were encountered: