Skip to content

Commit

Permalink
changes MIME type for local bib files to 'text/plain' as described in b…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArquintL committed May 19, 2020
1 parent 0632132 commit 1c9c7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papercite.classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function getData($biburis, $options)
$bibFile = $this->getCached($biburi, $timeout, $sslverify);
} else {
$biburi = preg_replace("#\\.bib$#", "", $biburi);
$bibFile = $this->getDataFile("$biburi", "bib", "bib", "application/x-bibtex", $options);
$bibFile = $this->getDataFile("$biburi", "bib", "bib", "text/plain", $options);
}


Expand Down

0 comments on commit 1c9c7a5

Please sign in to comment.