Author: sebb
Date: Thu Sep 1 17:46:18 2011
New Revision: 1164185
URL: http://svn.apache.org/viewvc?rev=1164185&view=rev
Log:
Bug 51750 - Retrieve all embedded resources doesn't follow IFRAME
Fix Tidy impl as well
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java?rev=1164185&r1=1164184&r2=1164185&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java
Thu Sep 1 17:46:18 2011
@@ -139,6 +139,10 @@ class JTidyHTMLParser extends HTMLParser
urls.addURL(getValue(attrs, ATT_SRC), baseUrl);
break;
}
+ if (name.equalsIgnoreCase(TAG_IFRAME)) {
+ urls.addURL(getValue(attrs, ATT_SRC), baseUrl);
+ break;
+ }
String back = getValue(attrs, ATT_BACKGROUND);
if (back != null) {
urls.addURL(back, baseUrl);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]