惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
WordPress大学
WordPress大学
小众软件
小众软件
IT之家
IT之家
腾讯CDC
月光博客
月光博客
量子位
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 test: merge chat context notice checks · openclaw/openclaw@5c2f4af feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248
fix(msteams): harden security-sensitive flows (#65841) · ...
2026-04-16 · via Recent Commits to openclaw:main

@@ -6,6 +6,7 @@ import {

66

isUrlAllowed,

77

type MSTeamsAttachmentDownloadLogger,

88

type MSTeamsAttachmentFetchPolicy,

9+

type MSTeamsAttachmentResolveFn,

910

resolveAttachmentFetchPolicy,

1011

safeFetchWithPolicy,

1112

} from "./shared.js";

@@ -59,6 +60,7 @@ async function fetchBotFrameworkAttachmentInfo(params: {

5960

accessToken: string;

6061

policy: MSTeamsAttachmentFetchPolicy;

6162

fetchFn?: typeof fetch;

63+

resolveFn?: MSTeamsAttachmentResolveFn;

6264

logger?: MSTeamsAttachmentDownloadLogger;

6365

}): Promise<BotFrameworkAttachmentInfo | undefined> {

6466

const url = `${normalizeServiceUrl(params.serviceUrl)}/v3/attachments/${encodeURIComponent(params.attachmentId)}`;

@@ -75,6 +77,7 @@ async function fetchBotFrameworkAttachmentInfo(params: {

7577

url,

7678

policy: params.policy,

7779

fetchFn: params.fetchFn,

80+

resolveFn: params.resolveFn,

7881

requestInit: {

7982

headers: ensureUserAgentHeader({ Authorization: `Bearer ${params.accessToken}` }),

8083

},

@@ -109,6 +112,7 @@ async function fetchBotFrameworkAttachmentView(params: {

109112

maxBytes: number;

110113

policy: MSTeamsAttachmentFetchPolicy;

111114

fetchFn?: typeof fetch;

115+

resolveFn?: MSTeamsAttachmentResolveFn;

112116

logger?: MSTeamsAttachmentDownloadLogger;

113117

}): Promise<Buffer | undefined> {

114118

const url = `${normalizeServiceUrl(params.serviceUrl)}/v3/attachments/${encodeURIComponent(params.attachmentId)}/views/${encodeURIComponent(params.viewId)}`;

@@ -120,6 +124,7 @@ async function fetchBotFrameworkAttachmentView(params: {

120124

url,

121125

policy: params.policy,

122126

fetchFn: params.fetchFn,

127+

resolveFn: params.resolveFn,

123128

requestInit: {

124129

headers: ensureUserAgentHeader({ Authorization: `Bearer ${params.accessToken}` }),

125130

},

@@ -169,6 +174,7 @@ export async function downloadMSTeamsBotFrameworkAttachment(params: {

169174

allowHosts?: string[];

170175

authAllowHosts?: string[];

171176

fetchFn?: typeof fetch;

177+

resolveFn?: MSTeamsAttachmentResolveFn;

172178

fileNameHint?: string | null;

173179

contentTypeHint?: string | null;

174180

preserveFilenames?: boolean;

@@ -205,6 +211,7 @@ export async function downloadMSTeamsBotFrameworkAttachment(params: {

205211

accessToken,

206212

policy,

207213

fetchFn: params.fetchFn,

214+

resolveFn: params.resolveFn,

208215

logger: params.logger,

209216

});

210217

if (!info) {

@@ -239,6 +246,7 @@ export async function downloadMSTeamsBotFrameworkAttachment(params: {

239246

maxBytes: params.maxBytes,

240247

policy,

241248

fetchFn: params.fetchFn,

249+

resolveFn: params.resolveFn,

242250

logger: params.logger,

243251

});

244252

if (!buffer) {

@@ -296,6 +304,7 @@ export async function downloadMSTeamsBotFrameworkAttachments(params: {

296304

allowHosts?: string[];

297305

authAllowHosts?: string[];

298306

fetchFn?: typeof fetch;

307+

resolveFn?: MSTeamsAttachmentResolveFn;

299308

fileNameHint?: string | null;

300309

contentTypeHint?: string | null;

301310

preserveFilenames?: boolean;

@@ -329,6 +338,7 @@ export async function downloadMSTeamsBotFrameworkAttachments(params: {

329338

allowHosts: params.allowHosts,

330339

authAllowHosts: params.authAllowHosts,

331340

fetchFn: params.fetchFn,

341+

resolveFn: params.resolveFn,

332342

fileNameHint: params.fileNameHint,

333343

contentTypeHint: params.contentTypeHint,

334344

preserveFilenames: params.preserveFilenames,