patch for https in 1.0rc1
Matt McClure <[email protected]> Sun, 03 Aug 2003 12:19:19 -0400
| Newsgroups | gmane.comp.audio.netjuke.user |
|---|---|
| Organization | me |
| Message-ID | <[email protected]> |
https://.../netjuke/ was redirecting me to http://.../netjuke/login.php.
The attached patch fixes it.
--
Matt
http://www.faradic.net/~mmcclure/
The whole genre of the one-bedroom apartment on the Lower East
Side has escaped the [MTV] Cribs radar.
-Mike Doughty
inc-common-https.diff
(text/plain, 381 B)
--- inc-common.php.~1.71.~ 2003-07-06 18:37:35.000000000 -0400
+++ inc-common.php 2003-08-03 12:05:07.000000000 -0400
@@ -240,6 +240,7 @@
function DefineWebPath($pop_cnt = 0) {
$proto = 'http';
+ global $HTTP_SERVER_VARS;
if (isset ($HTTP_SERVER_VARS['HTTPS']) && $HTTP_SERVER_VARS['HTTPS'] == 'on') $proto .= 's';
$server_info = $proto."://".$_SERVER['HTTP_HOST'];
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/LTYHrGgMpZIoLA8RAhiAAKCTT52LKf8eY6upYSwKl71MwOV5pACeIQw3 /QPKK6mlvWd+UZ/SJl+WT04= =Gu4M -----END PGP SIGNATURE-----