SOURCES: cowiki-https.patch (NEW) - ugly hack to use https
glen
glen at pld-linux.org
Tue Jun 20 23:34:45 CEST 2006
Author: glen Date: Tue Jun 20 21:34:45 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- ugly hack to use https
---- Files affected:
SOURCES:
cowiki-https.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cowiki-https.patch
diff -u /dev/null SOURCES/cowiki-https.patch:1.1
--- /dev/null Tue Jun 20 23:34:45 2006
+++ SOURCES/cowiki-https.patch Tue Jun 20 23:34:40 2006
@@ -0,0 +1,22 @@
+--- cowiki-0.4.0-interim-2006-03-17/htdocs/index.proxy.php 2005-08-03 03:11:11.000000000 +0300
++++ cowiki-0.4.0-interim-2006-03-17/htdocs/index.proxy.php 2006-06-21 00:31:13.000000000 +0300
+@@ -50,7 +50,7 @@
+
+ if (file_exists(realpath(dirname(__FILE__)) . '/install.pending')) {
+ // FIX: scheme (https) and port (other than 80)
+- $sScheme = 'http';
++ $sScheme = 'https';
+ $sBasePath = substr(
+ $_SERVER['REQUEST_URI'],
+ 0,
+--- cowiki-0.4.0-interim-2006-03-17/includes/cowiki/class/util/class.HttpRequest.php 2005-08-11 07:12:07.000000000 +0300
++++ cowiki-0.4.0-interim-2006-03-17/includes/cowiki/class/util/class.HttpRequest.php 2006-06-21 00:31:13.000000000 +0300
+@@ -202,7 +202,7 @@
+ * @since coWiki 0.3.0
+ */
+ public function getHostUri() {
+- $sProto = 'http';
++ $sProto = 'https';
+
+ // SSL_PROTOCOL_VERSION is valid for mod_ssl
+ if (strtolower($this->Env->get('HTTPS')) == 'on'
================================================================
More information about the pld-cvs-commit
mailing list