LP88653 force SSL for requests from local XUL collab/phasefx/ssl_login
authorJason Etheridge <jason@esilibrary.com>
Thu, 10 Nov 2011 17:55:32 +0000 (12:55 -0500)
committerJason Etheridge <jason@esilibrary.com>
Fri, 11 Nov 2011 18:48:07 +0000 (13:48 -0500)
commit4243c2ccc7c51934aba3356e93ee9792ae10eb12
tree8003307d9d8cc536dcfa18863c18dad6c92fc2d9
parent3762864f03c2ed7ccec910d25f7b6b950a1ccdca
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>
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