From 40908866f2f26eebf1288f43978450fbfcf06af9 Mon Sep 17 00:00:00 2001 From: Krzysztof Wicher Date: Thu, 10 Apr 2025 17:16:43 +0200 Subject: [PATCH] Update docs for JScriptEvaluate (#11180) --- xml/Microsoft.JScript/Eval.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xml/Microsoft.JScript/Eval.xml b/xml/Microsoft.JScript/Eval.xml index 935978c1b41..aca81c7c7c3 100644 --- a/xml/Microsoft.JScript/Eval.xml +++ b/xml/Microsoft.JScript/Eval.xml @@ -84,7 +84,13 @@ The code to evaluate. - The string literal unsafe to enable unsafe evaluation; otherwise, . + + The string literal unsafe to enable unsafe evaluation; otherwise, . + + Important: This parameter is not intended to serve as a security boundary. + Using unsafeOption should not be considered a substitute for proper security practices. + + A reference to the scripting engine to use to evaluate . Evaluates the specified JScript code by using the specified engine and safety option. The result of the evaluation. If is not a string, return value is .