Bug 55488 - Add .ico and .woff file extension to default suggested exclusions in proxy recorder
Add .ico and .woff file extension to default suggested exclusions in proxy re...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
PC Linux
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-27 12:24 UTC by Antonio Gomes Rodrigues
Modified: 2013-08-27 20:39 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Gomes Rodrigues 2013-08-27 12:24:13 UTC
Hi,

I suggest to add .ico extension file in the default suggested exclusions in proxy recorder

The patch

     private static final String USE_DEFAULT_HTTP_IMPL = ""; // $NON-NLS-1$
 
     private static final String SUGGESTED_EXCLUSIONS =
-            JMeterUtils.getPropDefault("proxy.excludes.suggested", ".*\\.js;.*\\.css;.*\\.swf;.*\\.gif;.*\\.png;.*\\.jpg;.*\\.bmp"); // $NON-NLS-1$
\ No newline at end of file
+            JMeterUtils.getPropDefault("proxy.excludes.suggested", ".*\\.js;.*\\.css;.*\\.swf;.*\\.gif;.*\\.png;.*\\.jpg;.*\\.bmp;.*\\.ico"); // $NON-NLS-1$
\ No newline at end of file
     
     private JTextField portField;
Comment 1 Antonio Gomes Rodrigues 2013-08-27 12:38:21 UTC
The same with .woff extension file

@@ -85,7 +85,7 @@
     private static final String USE_DEFAULT_HTTP_IMPL = ""; // $NON-NLS-1$
 
     private static final String SUGGESTED_EXCLUSIONS =
-            JMeterUtils.getPropDefault("proxy.excludes.suggested", ".*\\.js;.*\\.css;.*\\.swf;.*\\.gif;.*\\.png;.*\\.jpg;.*\\.bmp"); // $NON-NLS-1$
\ No newline at end of file
+            JMeterUtils.getPropDefault("proxy.excludes.suggested", ".*\\.js;.*\\.css;.*\\.swf;.*\\.gif;.*\\.png;.*\\.jpg;.*\\.bmp;.*\\.ico;.*\\.woff"); // $NON-NLS-1$
\ No newline at end of file
     
     private JTextField portField;
Comment 2 Philippe Mouawad 2013-08-27 20:39:35 UTC
Date: Tue Aug 27 20:37:50 2013
New Revision: 1517974

URL: http://svn.apache.org/r1517974
Log:
Bug 55488 - Add .ico and .woff file extension to default suggested exclusions in proxy recorder
Bugzilla Id: 55488

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
    jmeter/trunk/xdocs/changes.xml


Patch applied, thanks