XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Restrict fullscreen=() in Permissions-Policy to match restrictive approach for all APIs

Agent-Logs-Url: https://github.com/xtekky/gpt4free/sessions/bf9b023a-6921-41be-b964-7b245db2fb4f Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>

52667870
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/api/__init__.py +1 -1
@@ -963,7 +963,7 @@ class Api:
963 963 # Restrict powerful browser APIs that workspace pages don't need
964 964 "Permissions-Policy": (
965 965 "geolocation=(), camera=(), microphone=(), "
966 "payment=(), usb=(), fullscreen=self"
966 "payment=(), usb=(), fullscreen=()"
967 967 ),
968 968 "Cache-Control": "no-store",
969 969 }