https://issues.apache.org/bugzilla/show_bug.cgi?id=56334

--- Comment #19 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Created attachment 31724
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31724&action=edit
2014-06-17_tc8_56334_c15_v1.patch

v1 of patch for Comment 15, including test cases

The test case "07g" fails, it is commented out.

When there is a quoted string, a token for it is created by ELParser as

  return new QuotedString(getAndResetWhiteSpace(), buf.toString());

It is later converted into ELText object
ELexpr.add(new ELNode.ELText(curToken.toString()));

The leading whitespace in ELText messes up quotes detection in
ELParser.escapeELText().
The test "07g" checks whether single quotes in the value are re-escaped
correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to