jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1225790 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java xdocs/changes.xml
Date Fri, 30 Dec 2011 10:38:01 GMT
Author: pmouawad
Date: Fri Dec 30 10:38:01 2011
New Revision: 1225790

URL: http://svn.apache.org/viewvc?rev=1225790&view=rev
Log:
Bug 52399 - URLRewritingModifier uses default file.encoding to match text content

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java?rev=1225790&r1=1225789&r2=1225790&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
Fri Dec 30 10:38:01 2011
@@ -77,7 +77,7 @@ public class URLRewritingModifier extend
             return;
         }
         initRegex(getArgumentName());
-        String text = new String(responseText.getResponseData()); // TODO - charset?
+        String text = responseText.getResponseDataAsString();
         Perl5Matcher matcher = JMeterUtils.getMatcher();
         String value = "";
         if (isPathExtension() && isPathExtensionNoEquals() && isPathExtensionNoQuestionmark())
{

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1225790&r1=1225789&r2=1225790&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Fri Dec 30 10:38:01 2011
@@ -159,6 +159,7 @@ This behaviour can be changed with prope
 <li>Bug 52280 - The menu item Options / Choose Language does not change all the displayed
text to the new language</li>
 <li>Bug 52376 - StatCalculator#addValue(T val, int sampleCount) should use long, not
int</li>
 <li>Bug 49374 - Encoding of embedded element URLs depend on the file.encoding property</li>
+<li>Bug 52399 - URLRewritingModifier uses default file.encoding to match text content</li>
 </ul>
 
 <!-- =================== Improvements =================== -->



Mime
View raw message