Bug 7628: Escape '+' characters for categorycode
uri escape the following characters: &, @, /, ;, :, =, +, ? and $ Signed-off-by: Marc Veron <veron@veron.ch> Test and sign off second patch (independently from first patch). Added categories like '+zwoelf' or '? Test' before applying the patch. Deletion was not possible. After applying patch deletion is possible, patch works as expected. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
e3e5b1892f
commit
56c9fca729
1 changed files with 3 additions and 3 deletions
|
@ -298,7 +298,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 %]
|
||||
|
@ -345,8 +345,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>
|
||||
|
|
Loading…
Reference in a new issue