Bugzilla – Attachment 11034 Details for
Bug 7628
Required format is not enforced for Patron Categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7628: Escape characters for categorycode [alternative patch]
0001-Bug-7628-Escape-characters-for-categorycode.patch (text/plain), 2.04 KB, created by
Jonathan Druart
on 2012-07-20 08:52:58 UTC
(
hide
)
Description:
Bug 7628: Escape characters for categorycode [alternative patch]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-07-20 08:52:58 UTC
Size:
2.04 KB
patch
obsolete
>From 1c65272998a0a184db161d63c74e7610e8b63ef6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 20 Jul 2012 10:48:27 +0200 >Subject: [PATCH 1/1] Bug 7628: Escape '+' characters for categorycode > >uri escape the following characters: > &, @, /, ;, :, =, +, ? and $ >--- > .../prog/en/modules/admin/categorie.tt | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >index e0be34b..711a223 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >@@ -290,7 +290,7 @@ Confirm deletion of category [% categorycode |html %][% END %]</legend> > <tr> > <td>[% loo.categorycode |html %]</td> > <td> >- <a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |url %]">[% loo.description |html %]</a> >+ <a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |uri %]">[% loo.description |html %]</a> > </td> > <td> > [% IF ( loo.type_A ) %]Adult[% END %] >@@ -337,8 +337,8 @@ Confirm deletion of category [% categorycode |html %][% END %]</legend> > [% END %] > </td> > [% END %] >- <td><a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |url %]">Edit</a></td> >- <td><a href="[% loo.script_name %]?op=delete_confirm&categorycode=[% loo.categorycode |url %]">Delete</a></td> >+ <td><a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |uri %]">Edit</a></td> >+ <td><a href="[% loo.script_name %]?op=delete_confirm&categorycode=[% loo.categorycode |uri %]">Delete</a></td> > </tr> > [% END %] > </table> >-- >1.7.7.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 7628
:
10918
|
10921
|
10922
|
10923
|
11034
|
11072