Skip to content

Feature/aspnet template compiler csp nonce - #34614

Draft
vorobey wants to merge 4 commits into
DevExpress:mainfrom
vorobey:feature/aspnet-template-compiler-csp-nonce
Draft

Feature/aspnet template compiler csp nonce#34614
vorobey wants to merge 4 commits into
DevExpress:mainfrom
vorobey:feature/aspnet-template-compiler-csp-nonce

Conversation

@vorobey

@vorobey vorobey commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@vorobey vorobey self-assigned this Aug 3, 2026
var func =
'function ' + funcName + '(obj,encodeHtml){\n' + code + '\n}';
$.globalEval(func, src, window.document);
return funcName;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will builds the same string, evals and overwrites window[functionName] with a new, identical, one. Might be added chec for existed function here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant