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

 
 

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

Submitted by:  None
Submitted on:  Tue 18 Apr 2006 03:17:32 PM UTC  
 
Category: BibTeX Data ManagementSeverity: 3 - Normal
Item Group: ErrorsStatus: Fixed
Assigned to: NoneOpen/Closed: Open
Release: 1.3.3Fixed Release: None
Planned Release: 1-3-4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 08 Jun 2008 06:51:08 PM UTCggardeyStatusNone=>Fixed
      Planned ReleaseNone=>1-3-4

    Back to the top


    Powered by Savane 3.1-cleanup1