Bugzilla – Attachment 2765 Details for
Bug 5412
Double quotes in publisher name, no date cause search results links to break
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Initial patch
0001-Bug-5412-double-quotes-break-coins-and-thus-search-r.patch (text/plain), 1.36 KB, created by
Tomás Cohen Arazi (tcohen)
on 2010-11-17 01:17:04 UTC
(
hide
)
Description:
Initial patch
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2010-11-17 01:17:04 UTC
Size:
1.36 KB
patch
obsolete
>From 86a2d05945cfcd51a714c5a2d950e79666ada83c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@gmail.com> >Date: Tue, 16 Nov 2010 22:00:46 -0300 >Subject: [PATCH] Bug 5412 double quotes break coins and thus search results in some scenarios >Content-Type: text/plain; charset="utf-8" > >--- > C4/Biblio.pm | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 81ccfbb..6a422be 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -1198,6 +1198,7 @@ sub GetCOinSBiblio { > my $coins_value = > "ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A$mtx$genre$title&rft.isbn=$isbn&rft.issn=$issn&rft.aulast=$aulast&rft.aufirst=$aufirst$oauthors&rft.pub=$publisher&rft.date=$pubyear"; > $coins_value =~ s/(\ |&[^a])/\+/g; >+ $coins_value =~ s/\"/\"\;/g; > > #<!-- TMPL_VAR NAME="ocoins_format" -->&rft.au=<!-- TMPL_VAR NAME="author" -->&rft.btitle=<!-- TMPL_VAR NAME="title" -->&rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&rft.pages=<!-- TMPL_VAR NAME="pages" -->&rft.isbn=<!-- TMPL_VAR NAME=amazonisbn -->&rft.aucorp=&rft.place=<!-- TMPL_VAR NAME="place" -->&rft.pub=<!-- TMPL_VAR NAME="publishercode" -->&rft.edition=<!-- TMPL_VAR NAME="edition" -->&rft.series=<!-- TMPL_VAR NAME="series" -->&rft.genre=" > >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5412
:
2761
| 2765