[Koha-bugs] [Bug 36235] System preferences chopping everything after a semicolon.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 16:56:29 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36235

--- Comment #2 from Jonathan Druart <jonathan.druart at gmail.com> ---
diff --git
a/koha-tmpl/intranet-tmpl/prog/js/fetch/system-preferences-api-client.js
b/koha-tmpl/intranet-tmpl/prog/js/fetch/system-preferences-api-client.js
index 1b8634951b6..e2b9bcbac8a 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/fetch/system-preferences-api-client.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/fetch/system-preferences-api-client.js
@@ -32,7 +32,7 @@ export class SysprefAPIClient extends HttpClient {
                         .map(variable =>
                             sysprefs[variable].length
                                 ? sysprefs[variable].map(value =>
-                                      "%s=%s".format(variable, value)
+                                      "%s=%s".format(variable,
encodeURIComponent(value))
                                   )
                                 : "%s=".format(variable)
                         )

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list