You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2013/07/30 21:42:14 UTC

svn commit: r1508589 - in /jmeter/trunk: src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java xdocs/changes.xml

Author: pmouawad
Date: Tue Jul 30 19:42:13 2013
New Revision: 1508589

URL: http://svn.apache.org/r1508589
Log:
Bug 55328 - __escapeOroRegexpChars trims spaces 
Bugzilla Id: 55328

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java?rev=1508589&r1=1508588&r2=1508589&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/EscapeOroRegexpChars.java Tue Jul 30 19:42:13 2013
@@ -67,7 +67,7 @@ public class EscapeOroRegexpChars extend
     public synchronized String execute(SampleResult previousResult, Sampler currentSampler)
             throws InvalidVariableException {
 
-        String valueToEscape = values[0].execute().trim();       
+        String valueToEscape = values[0].execute();       
         
         String varName = "";//$NON-NLS-1$
         if (values.length >= PARAM_NAME) {

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1508589&r1=1508588&r2=1508589&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Tue Jul 30 19:42:13 2013
@@ -207,6 +207,9 @@ Transaction Controller now sets Response
 The retry count for the HttpClient 3.1 and HttpClient 4.x samplers has been changed to 0.
 Previously the default was 1, which could cause unexpected additional traffic.
 </p>
+
+<p>__escapeOroRegexpChars function does not trim anymore the value when escaping it from ORO reserved characters (see <bugzilla>55328</bugzilla>)</p>
+
 <p>commons-lang-2.6.jar has been removed from embedded libraries in jmeter/lib folder. If you use any plugin or third-party code that depends on it, you need to add it in jmeter/lib folder</p>
 
 <!-- =================== Bug fixes =================== -->
@@ -255,6 +258,7 @@ Previously the default was 1, which coul
 
 <h3>Functions</h3>
 <ul>
+<li><bugzilla>55328</bugzilla> - __escapeOroRegexpChars trims spaces </li>
 </ul>
 
 <h3>I18N</h3>