Reverting UNDERTOW-1319 to be compliant with the spec. In a JSP tag attribute a value scriptlet expression must appear by itself (full attribute), multiple expressions, and mixing of expressions and string constants are not permitted. Adding a simple test in the TagLibJspTestCase to ensure the behavior is not changed again.
If anybody prefers an intermediate solution (for example accepting the previous bad behavior by default or after setting a system property) just let me now. But I prefer to be spec compliant and do not complicate the validation (as the previous fix was incomplete).
Issue: https://issues.redhat.com/browse/UNDERTOW-2214
Reverting UNDERTOW-1319 to be compliant with the spec. In a JSP tag attribute a value scriptlet expression must appear by itself (full attribute), multiple expressions, and mixing of expressions and string constants are not permitted. Adding a simple test in the
TagLibJspTestCase
to ensure the behavior is not changed again.If anybody prefers an intermediate solution (for example accepting the previous bad behavior by default or after setting a system property) just let me now. But I prefer to be spec compliant and do not complicate the validation (as the previous fix was incomplete).
PR for 2.2.x. PR for 2.0.x: https://github.com/undertow-io/jastow/pull/78