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 2016/04/21 21:00:53 UTC

svn commit: r1740385 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

Author: pmouawad
Date: Thu Apr 21 19:00:53 2016
New Revision: 1740385

URL: http://svn.apache.org/viewvc?rev=1740385&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
use existing variable
Bugzilla Id: 59140

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java?rev=1740385&r1=1740384&r2=1740385&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java Thu Apr 21 19:00:53 2016
@@ -109,8 +109,7 @@ public class CssParser implements LinkEx
                     public void onImport(final CSSImportRule importRule) {
                         String location = importRule.getLocationString();
                         if(!StringUtils.isEmpty(location)) {
-                            urlCollection.addURL(importRule.getLocationString(), 
-                                    baseUrl);
+                            urlCollection.addURL(location, baseUrl);
                         }
                     }
                     // Call for URLs outside of URLs