BitTorrent download appends devel query log

Jonas Kvarnstrom - December 12, 2007 - 14:25
Project:BitTorrent
Version:5.x-2.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If the devel module's query log is turned on, it is automatically appended to every torrent file that is downloaded.

This can be fixed by changing the end of bt_torrent_get_torrent() as follows:

<?php
...
     
drupal_set_header('Content-Disposition: attachment; filename="'. $torrent->title .'.torrent"');
      print(
$torrent->metadata);
     
     
$GLOBALS['devel_shutdown'] = FALSE// Added...
   
}
...
?>

Not sure whether this is the correct way of solving it, but it seems to be the only way short of modifying the devel module itself.

#1

bradfordcp - February 4, 2008 - 22:23
Status:active» fixed

Fixed in beta3

#2

Anonymous (not verified) - February 18, 2008 - 22:31
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.