Bugzilla – Attachment 3463 Details for
Bug 3326
xml entity refs display incorrectly in results page if exported and indexed as xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow up patch 2
bug3326.patch (text/plain), 1.73 KB, created by
Nicole C. Engard
on 2011-03-28 11:56:32 UTC
(
hide
)
Description:
follow up patch 2
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-03-28 11:56:32 UTC
Size:
1.73 KB
patch
obsolete
>From: Jared Camins-Esakov <jcamins@bywatersolutions.com> >To: dev@bywatersolutions.com >Cc: Jared Camins-Esakov <jcamins@bywatersolutions.com> >Subject: [PATCH] Bug 3326: Staff results still displayed & >Date: Sun, 27 Mar 2011 08:20:39 -0400 >Message-Id: <1301228439-1920-1-git-send-email-jcamins@bywatersolutions.com> >X-Mailer: git-send-email 1.7.2.3 >X-Original-Sender: jcamins@bywatersolutions.com >X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: > 209.85.216.42 is neither permitted nor denied by best guess record for domain > of jcamins@bywatersolutions.com) smtp.mail=jcamins@bywatersolutions.com >Precedence: list >Mailing-list: list dev@bywatersolutions.com; contact dev+owners@bywatersolutions.com >List-ID: <dev.bywatersolutions.com> >X-Google-Group-Id: 274270250429 >List-Help: <http://www.google.com/support/a/bywatersolutions.com/bin/static.py?hl=en_US&page=groups.cs>, > <mailto:dev+help@bywatersolutions.com> >Content-Type: text/plain; charset="utf-8" > >In certain circumstances, ampersands would not be displayed properly in the >Staff client search results. This patch fixes that by ensuring that all the >doubled ampersands that Zebra inserts in XML indexing mode are replaced by the >correct single ampersand entity. >--- > C4/Output.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Output.pm b/C4/Output.pm >index 9f5ed5e..a6cb984 100644 >--- a/C4/Output.pm >+++ b/C4/Output.pm >@@ -474,7 +474,7 @@ sub output_with_http_headers($$$$;$) { > > sub output_html_with_http_headers ($$$;$) { > my ( $query, $cookie, $data, $status ) = @_; >- $data =~ s/\&\;amp\; /\&\; /; >+ $data =~ s/\&\;amp\; /\&\; /g; > output_with_http_headers( $query, $cookie, $data, 'html', $status ); > } > >-- >1.7.2.3 >
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 3326
:
3301
|
3322
|
3323
| 3463