mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 18:43:43 +00:00
fix(security): block private-network web_search citation redirects
This commit is contained in:
@@ -721,7 +721,6 @@ async function resolveRedirectUrl(url: string): Promise<string> {
|
||||
url,
|
||||
init: { method: "HEAD" },
|
||||
timeoutMs: REDIRECT_TIMEOUT_MS,
|
||||
policy: WEB_TOOLS_TRUSTED_NETWORK_SSRF_POLICY,
|
||||
},
|
||||
async ({ finalUrl }) => finalUrl || url,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user