[open-ils-commits] [GIT] Evergreen ILS branch master updated. 6ce3e4bb3fec20de325ff79a1f2903d261249d01

Evergreen Git git at git.evergreen-ils.org
Mon Oct 28 15:42:04 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, master has been updated
       via  6ce3e4bb3fec20de325ff79a1f2903d261249d01 (commit)
      from  35050456f325bed02b02f15707460865607f8034 (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 6ce3e4bb3fec20de325ff79a1f2903d261249d01
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