bugBibORB - Bugs: bug #16370, Tools: Export bibliography to...

 
 

bug #16370: Tools: Export bibliography to BibTeX etc. has unwanted html at the end

Submitter:  None
Submitted:  Tue 18 Apr 2006 03:17:32 PM UTC
   
 
Category:  BibTeX Data Management Severity:  3 - Normal
Item Group:  Errors Status:  Fixed
Assigned to:  None Open/Closed:  Open
Release:  * 1.3.3 Fixed Release:  None
Planned Release:  1-3-4
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Apr 2006 03:17:32 PM UTC, original submission:  

If you use the "Tools" section to export the whole bibliography to a bibliographic format (BibTeX etc...) the downloaded file will also contain parts of the html-code at the end.

This problem can be solved by replacing the "break;" command with "die();" at the end of the "Export all references." part in the bibindex.php file (line 751):

/**

  • Export all references.

 */
        case 'export_all':
            $bt = new BibTeX_Tools();
.
.
.
.
header("Content-Type:text/plain");            header("Content-Disposition:attachment;filename=$filename");
            echo $content;
            die();
            break; <-- replaced by the die(); command

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ggardey (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-08 ggardey StatusNone Fixed
        Planned ReleaseNone 1-3-4

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code