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:23:02 +0000 (14:23 -0500)
commitda9df53b242b2ed20662aa668f74290b3a0d86eb
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>
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