[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. b52dd5fce7bae16c3413ec5e79bfce11180c88e3

Evergreen Git git at git.evergreen-ils.org
Mon Oct 28 15:42:48 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_4 has been updated
       via  b52dd5fce7bae16c3413ec5e79bfce11180c88e3 (commit)
      from  3dc127fb66962e2f4bff7e84ed1b4d0c8e00308e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b52dd5fce7bae16c3413ec5e79bfce11180c88e3
Author: Mike Rylander <mrylander at gmail.com>
Date:   Thu Oct 24 16:10:00 2013 -0400

    Make sure that # can be used in auth browse
    
    Because we use URLs to call the SuperCat browse API, we need to
    be more careful about encoding parameters.  #, in particular, breaks
    auth browse because it's seen as a URL fragment separator by the browser
    and web server.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Yamil Suarez <yamil at yamil.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/js/ui/default/cat/authority/list.js b/Open-ILS/web/js/ui/default/cat/authority/list.js
index 2bd19bf..4c42b90 100644
--- a/Open-ILS/web/js/ui/default/cat/authority/list.js
+++ b/Open-ILS/web/js/ui/default/cat/authority/list.js
@@ -379,7 +379,7 @@ function displayRecords(parms) {
         + dijit.byId('authAxis').attr('value')
         // + '/' + dijit.byId('authOU').attr('value')
         + '/1' // replace with preceding line if OUs gain some meaning
-        + '/' + dijit.byId('authTerm').attr('value')
+        + '/' + encodeURIComponent(dijit.byId('authTerm').attr('value'))
         + '/' + dijit.byId('authPage').attr('value')
         + '/' + '20' // 20 results per page
     ;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/web/js/ui/default/cat/authority/list.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list