Steve Rowe commented on Bug JENKINS-14132

Here's the culprit: line #142 in ContentBuilder.java:

// Sequence of (1) not \ " CR LF and (2) \ followed by (CR)LF, or not CR LF
private static final String stringRegex = "\"([^\\\\\"\\r\\n]|(\\\\(?:\r?\n|.)))*\"";

This can be fixed by adding a possessive quantifier to the above regex. I'll make a pull request shortly that adds a test and a fix. (The test fails without the fix, and succeeds with it.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to