@lanhu-context/browser-extension@0.1.2
·
2 commits
to main
since this release
Patch Changes
-
dadd3b9: 修复扩展只能复制到一条 Cookie(
PASSPORT)导致lanhu auth test失败:host_permissions补上http://*.lanhuapp.com/*。Chrome 按 Cookie 的Secure标志拼 URL 再匹配 host_permissions(Secure→https,非 Secure→http),蓝湖的user_token/session/SERVERID均非 Secure,只声明 https 时会被静默过滤。同时 content script 会把页面的
document.cookie随消息交给 service worker,与chrome.cookies合并后再拼 Cookie 头,确保特权查询变窄时扩展也不会比页面本身能发出的 Cookie 更少。 -
Updated dependencies [dadd3b9]
- @lanhu-context/ecosystem-core@0.2.0