xiaozhi-esp32-server/main/xiaozhi-server/core
tuanaiseo 6044d0e42f fix(security): cors misconfiguration allows credentialed cross-or
The API base handler sets `Access-Control-Allow-Credentials: true` together with `Access-Control-Allow-Origin: *`. Browsers treat this combination as invalid/insecure and it often leads to unsafe CORS behavior when later changed to reflected origins. This is especially risky because `authorization` is explicitly allowed in request headers.

Affected files: base_handler.py

Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com>
2026-04-08 06:32:11 +07:00
..
api fix(security): cors misconfiguration allows credentialed cross-or 2026-04-08 06:32:11 +07:00
handle Merge pull request #3060 from xinnan-tech/py_test_end 2026-04-03 17:31:56 +08:00
providers Merge pull request #3060 from xinnan-tech/py_test_end 2026-04-03 17:31:56 +08:00
utils fix: 修复流式场景下的误判 2026-03-25 11:07:43 +08:00
auth.py update: 2025-10-13 17:52:28 +08:00
connection.py 补充sql,增加错误详情上报 2026-04-01 14:32:47 +08:00
http_server.py update:从vision_url配置里读取域名和端口号 2025-12-18 17:37:20 +08:00
websocket_server.py feat: 为多个模块添加类型注解以增强代码可读性 2026-01-25 17:47:52 +08:00