Tornado websockets event Handlers registration are incorrect #22605
Labels
Bug
broken, incorrect, or confusing behavior
help-wanted
Community help is needed to resolve this
P3
Priority 3
Salt-API
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Target module:
netapi/rest_tornado/__init__.py
The token pattern at line 60 is incorrect. The {0} format will just put the used hashing length after the \w regex which is actually should be meant for \w length.
Intended pattern (for md5 32bit example): [0-9A-Fa-f]{32}
Actual pattern after format: [0-9A-Fa-f]32
And following is a tested patch:
The text was updated successfully, but these errors were encountered: