From 134d5e694b48a29cbd445b2bb62e0e276f6519e7 Mon Sep 17 00:00:00 2001 From: Volodymyr Siedlecki Date: Wed, 23 Feb 2022 16:24:48 -0500 Subject: [PATCH] Create new scriptfree tld for ee10 --- .../resources/META-INF/scriptfree-1_1.tld | 68 +++++++++++++++++++ .../main/resources/META-INF/scriptfree.tld | 14 ++-- 2 files changed, 76 insertions(+), 6 deletions(-) create mode 100644 impl/src/main/resources/META-INF/scriptfree-1_1.tld diff --git a/impl/src/main/resources/META-INF/scriptfree-1_1.tld b/impl/src/main/resources/META-INF/scriptfree-1_1.tld new file mode 100644 index 0000000..1679a7d --- /dev/null +++ b/impl/src/main/resources/META-INF/scriptfree-1_1.tld @@ -0,0 +1,68 @@ + + + + + + Validates JSP pages to prohibit use of scripting elements. + + 1.1 + scriptfree + http://jakarta.apache.org/taglibs/standard/scriptfree + + + + Validates prohibitions against scripting elements. + + + jakarta.servlet.jsp.jstl.tlv.ScriptFreeTLV + + + + Controls whether or not declarations are considered valid. + + allowDeclarations + false + + + + Controls whether or not scriptlets are considered valid. + + allowScriptlets + false + + + + Controls whether or not top-level expressions are considered valid. + + allowExpressions + false + + + + Controls whether or not expressions used to supply request-time + attribute values are considered valid. + + allowRTExpressions + false + + + diff --git a/impl/src/main/resources/META-INF/scriptfree.tld b/impl/src/main/resources/META-INF/scriptfree.tld index 1679a7d..aa55d98 100644 --- a/impl/src/main/resources/META-INF/scriptfree.tld +++ b/impl/src/main/resources/META-INF/scriptfree.tld @@ -2,6 +2,7 @@ - + + Validates JSP pages to prohibit use of scripting elements. - 1.1 + 3.0 scriptfree - http://jakarta.apache.org/taglibs/standard/scriptfree + jakarta.tags.scriptfree