Skip to content

Commit daef0fa

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5f73506 commit daef0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SwaggerProvider.DesignTime/Utils.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ module SchemaReader =
277277
// SECURITY: Reject unknown URL schemes to prevent SSRF attacks via file://, ftp://, etc.
278278
return
279279
failwithf
280-
"Unsupported URL scheme in schema path: '%s'. Only HTTPS and HTTP schemes are supported for remote schemas. If using a local file, ensure the path is absolute or relative to the resolution folder."
280+
"Unsupported URL scheme in schema path: '%s'. Only HTTPS is supported for remote schemas (HTTP requires SsrfProtection=false). For local files, ensure the path is absolute or relative to the resolution folder."
281281
resolvedPath
282282
}
283283

0 commit comments

Comments
 (0)