Bugzilla – Attachment 2686 Details for
Bug 5301
In C4/XSLT.pm, itemcallnumber can contain special XML characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Simple patch (only for '<').
itemcallnumber.patch (text/plain), 536 bytes, created by
Daniel Latrémolière
on 2010-10-13 14:27:05 UTC
(
hide
)
Description:
Simple patch (only for '<').
Filename:
MIME Type:
Creator:
Daniel Latrémolière
Created:
2010-10-13 14:27:05 UTC
Size:
536 bytes
patch
obsolete
>diff --git a/lib/C4/XSLT.pm b/lib/C4/XSLT.pm >index 1c45e44..95a50ae 100644 >--- a/lib/C4/XSLT.pm >+++ b/lib/C4/XSLT.pm >@@ -213,6 +213,7 @@ sub buildKohaItemsNamespace { > my $homebranch = $branches->{$item->{homebranch}}->{'branchname'}; > my $itemcallnumber = $item->{itemcallnumber} || ''; > $itemcallnumber =~ s/\&/\&\;/g; >+ $itemcallnumber =~ s/\</\<\;/g; > $xml.= "<item><homebranch>$homebranch</homebranch>". > "<status>$status</status>". > "<itemcallnumber>".$itemcallnumber."</itemcallnumber>"
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 5301
:
2686
|
2687
|
2702