← Back to team overview

anewt-developers team mailing list archive

[Branch ~uws/anewt/anewt.uws] Rev 1730: [core] Use correct HTTPS port in AnewtRequest

 

------------------------------------------------------------
revno: 1730
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Sun 2009-08-02 22:19:16 +0200
message:
  [core] Use correct HTTPS port in AnewtRequest
  
  AnewtRequest::canonical_base_url() accidently had the wrong
  default port number for HTTPS. Fixes lp:401805.
modified:
  core/request.lib.php


--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws

Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.
=== modified file 'core/request.lib.php'
--- core/request.lib.php	2009-08-02 10:57:53 +0000
+++ core/request.lib.php	2009-08-02 20:19:16 +0000
@@ -136,7 +136,7 @@
 		/* Now build the url part for the port number. It's empty if not needed
 		 * because the default ports are used. */
 		$port_str = (!$is_ssl && ($port != 80)) ||
-			($is_ssl && ($port != 430))
+			($is_ssl && ($port != 443))
 			? sprintf(':%d', $port)
 			: '';