Bugzilla – Attachment 104435 Details for
Bug 25279
Make the cities list use the API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25279: Replace encodeURI with encodeURIComponent
Bug-25279-Replace-encodeURI-with-encodeURIComponen.patch (text/plain), 1.10 KB, created by
Jonathan Druart
on 2020-05-06 14:13:14 UTC
(
hide
)
Description:
Bug 25279: Replace encodeURI with encodeURIComponent
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-06 14:13:14 UTC
Size:
1.10 KB
patch
obsolete
>From 22d27a87ec94aa7ff38196f6e203340fad3dd4ab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 May 2020 16:09:32 +0200 >Subject: [PATCH] Bug 25279: Replace encodeURI with encodeURIComponent > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >index c5287fd9b7..e4c7aa5a7d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -175,7 +175,7 @@ > "like": '%[%- city_name_filter | html -%]%' > } > }; >- cities_table_url += 'q='+ encodeURI(JSON.stringify(city_name_filter)); >+ cities_table_url += 'q='+ encodeURIComponent(JSON.stringify(city_name_filter)); > [% END %] > var cities_table = $("#table_cities").api({ > "ajax": { >-- >2.20.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 25279
:
103693
|
103694
|
103802
|
103803
|
103804
|
104065
|
104072
|
104359
|
104387
|
104416
|
104417
|
104420
|
104421
|
104423
|
104427
|
104428
|
104429
|
104430
|
104431
|
104432
|
104433
|
104434
| 104435 |
104510