From 85174bbaf4b0b90742abf1c17adec26b5589c827 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 30 Oct 2010 23:41:39 +0200 Subject: [PATCH] minor --- bibtexbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index d8658a4..e68a11a 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -2027,7 +2027,7 @@ class BibEntryDisplay extends BibtexBrowserDisplay { $result[] = array('citation_date',$this->bib->getYear()); // this page - $result[] = array('citation_abstract_html_url','http://'.$_SERVER['HTTP_HOST'].($_SERVER['SERVER_PORT']=='80'?'':$_SERVER['SERVER_PORT']).$_SERVER['REQUEST_URI']); + $result[] = array('citation_abstract_html_url','http://'.$_SERVER['HTTP_HOST'].($_SERVER['SERVER_PORT']=='80'?'':$_SERVER['SERVER_PORT']).str_replace('&','&',$_SERVER['REQUEST_URI'])); if ($this->bib->hasField("publisher")) { $result[] = array('citation_publisher',$this->bib->getPublisher());