[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. e23d9a755a9ce1c51ef563f776526661b7623228

Evergreen Git git at git.evergreen-ils.org
Tue Feb 12 23:33:10 EST 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_3 has been updated
       via  e23d9a755a9ce1c51ef563f776526661b7623228 (commit)
      from  a4526145b8047e864495178b3d63d52b81fc0345 (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 e23d9a755a9ce1c51ef563f776526661b7623228
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Wed Feb 6 16:01:49 2013 -0500

    ForceExternal: Compare hostnames case insensitive
    
    Lowercase both sides to avoid "right host, wrong case" issues.
    
    Resolves LP1081699 where the external browser would be used due to
    hostname case sensitivity.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/components/forceexternal.js b/Open-ILS/xul/staff_client/components/forceexternal.js
index ff0ac5f..d5e26d7 100644
--- a/Open-ILS/xul/staff_client/components/forceexternal.js
+++ b/Open-ILS/xul/staff_client/components/forceexternal.js
@@ -20,7 +20,7 @@ oilsForceExternal.prototype = {
           && node && node.getAttribute('oils_force_external') == 'true') {
             var data_cache = Components.classes["@open-ils.org/openils_data_cache;1"].getService().wrappedJSObject.data;
             var host = data_cache.server_unadorned;
-            if(host && contentLocation.host != host) {
+            if(host && contentLocation.host.toLowerCase() != host.toLowerCase()) {
                 // first construct an nsIURI object using the ioservice
                 var ioservice = Components.classes["@mozilla.org/network/io-service;1"]
                                 .getService(Components.interfaces.nsIIOService);

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

Summary of changes:
 .../xul/staff_client/components/forceexternal.js   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list