Changeset 665

Show
Ignore:
Timestamp:
07/18/07 17:28:49 (1 year ago)
Author:
kindlund
Message:

We need to account for URLs, where there's additional data at the end of the file name. Like, in the case of video.google.com:
http://video.google.com/googleplayer.swf?docid=….

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/jpuchalski-active_content/lib/HoneyClient/Agent/Driver/ActiveContent.pm

    r664 r665  
    189189 
    190190    # Pass the file to the appropriate content type module 
    191     if ($args{'file'}->filename =~ /\.swf$/) { 
     191    # Note: We need to account for URLs, where there's additional data 
     192    # at the end of the file name.  Like, in the case of video.google.com: 
     193    # http://video.google.com/googleplayer.swf?docid=.... 
     194    if ($args{'file'}->filename =~ /\.swf/) { 
    192195        return HoneyClient::Agent::Driver::ActiveContent::Flash::extract(%args); 
    193196    } else {