Skip to content

Commit 318557e

Browse files
committed
fix: autorisation de encodeURI pour le calcul des expressions complexes
1 parent 05b26eb commit 318557e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

js/processMarkdown/processDynamicVariables.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const sanitizeCodeAllowedOperations = [
2323
"!",
2424
"(",
2525
")",
26+
"encodeURI",
2627
];
2728

2829
// Sanitize le code avant d'utiliser new Function

script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

script.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)