ctonerich / skipfish

Automatically exported from code.google.com/p/skipfish
Apache License 2.0
0 stars 0 forks source link

Frame detection patch #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A little patch for skipfish/analysis.c to crawl frames.

@@ -699,8 +699,7 @@
         FIND_AND_MOVE(dirty_url, cur_str, "src=");

       } else if (ISTAG(cur_str, "object") || ISTAG(cur_str, "embed") ||
-               ISTAG(cur_str, "applet") || ISTAG(cur_str, "frame") ||
-               ISTAG(cur_str, "iframe")) {
+               ISTAG(cur_str, "applet") || ISTAG(cur_str, "iframe")) {

         link_type = 3;
         FIND_AND_MOVE(dirty_url, cur_str, "src=");

Original issue reported on code.google.com by fuzio...@gmail.com on 13 Apr 2010 at 2:45

GoogleCodeExporter commented 9 years ago
patch is reversed :D

Original comment by fuzio...@gmail.com on 13 Apr 2010 at 2:46

GoogleCodeExporter commented 9 years ago
Yeah, you had me scratching my head ;-) Thanks, will include in 1.31 today.

Original comment by lcam...@gmail.com on 13 Apr 2010 at 5:07