]> git.evergreen-ils.org Git - Evergreen.git/commit
LP88653 force SSL for requests from local XUL
authorJason Etheridge <jason@esilibrary.com>
Thu, 10 Nov 2011 17:55:32 +0000 (12:55 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 11 Nov 2011 19:40:52 +0000 (14:40 -0500)
commitcc90dc82cec13df46ba828b1e2727add17d28505
treeab9548f1f792a0b1a416b991a39f3b5cda835b85
parentc6083dba8878db023afa556d2bdd937f951cc452
LP88653 force SSL for requests from local XUL

Modifies RemoteRequest.js to convert any http:// request URL to https:// if the
requesting location has a chrome:// protocol.

Modifies util/network.js such that any use of util.network.request (as opposed
to util.network.simple_request) will assume "secure" for the resulting request.

Adds an example to the bottom of eg_vhost.conf for forcing SSL for an entire
site (OPAC and everything), courtesy of Dan Wells.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/web/opac/common/js/RemoteRequest.js
Open-ILS/xul/staff_client/chrome/content/util/network.js