From b6c702ae80923d21e4e7e692c85bb6432c6d2eef Mon Sep 17 00:00:00 2001 From: Krzysztof Wicher Date: Thu, 10 Apr 2025 14:23:43 +0200 Subject: [PATCH] Update docs for JScriptEvaluate --- 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 .