[open-ils-commits] [GIT] Evergreen ILS branch master updated. dc02f87a9ce84eb81c4845fc21f0f7660501b52c
Evergreen Git
git at git.evergreen-ils.org
Tue Feb 12 23:33:09 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, master has been updated
via dc02f87a9ce84eb81c4845fc21f0f7660501b52c (commit)
from a7da0c23c6c7392dbc2c9fa25a816a66708d8e2d (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 dc02f87a9ce84eb81c4845fc21f0f7660501b52c
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