-
- Downloads
[FIX] bus: make subscribe method only accept strings
Before [1], only string channels were allowed for polling. This
ensured no one could send a server-side channel from the frontend,
this PR restores this behavior.
[1]: odoo/odoo@a5623d2
closes odoo/odoo#100309
Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
Showing
- addons/bus/controllers/websocket.py 2 additions, 0 deletionsaddons/bus/controllers/websocket.py
- addons/bus/models/ir_websocket.py 2 additions, 0 deletionsaddons/bus/models/ir_websocket.py
- addons/bus/tests/__init__.py 1 addition, 0 deletionsaddons/bus/tests/__init__.py
- addons/bus/tests/test_ir_websocket.py 13 additions, 0 deletionsaddons/bus/tests/test_ir_websocket.py
addons/bus/tests/test_ir_websocket.py
0 → 100644
Please register or sign in to comment