Modify the XUL url_prefix utility funtion so that it always uses HTTPS.
Specifically, this allows the offline upload process to function with
servers that only support HTTPS connections.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
'toolbar_labelpos' : 'side',
'url_prefix' : function(url,secure) {
+ secure = true; // ssl-everywhere
// This allows urls to start with a urls key (or be only a urls key)
// We stop at the first / or ? to allow extra paths and query strings.
var base_url = url.match(/^[^?/|]+/);