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:39:53 +0000 (14:39 -0500)
commit81bffd3083db0897d02df00dce726efea312ec6c
tree884b0c6658b70c0444bef1173b40c9be7735a12c
parent21fbe91fbb8367937cbf1586dc211463c76238d8
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