diff --git a/docs/NEWS b/docs/NEWS index b1d1c7a8..5ce11a3d 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -15,6 +15,18 @@ Version 2.0 () * Use Smarty for backend display output +Version 1.7.3 () +------------------------------------------------------------------------ + + * Trackback to https:// style URLs will use proper port 443 instead + of 80. + +Version 1.7.2 (July 26th 2013) +------------------------------------------------------------------------ + + * Fix a syntax error in the "mysql" deprecation code, thanks + to Ian + Version 1.7.1 () ------------------------------------------------------------------------ diff --git a/include/functions_trackbacks.inc.php b/include/functions_trackbacks.inc.php index 6167ba40..095e0b01 100644 --- a/include/functions_trackbacks.inc.php +++ b/include/functions_trackbacks.inc.php @@ -119,6 +119,10 @@ function _serendipity_send($loc, $data, $contenttype = null) { $target['query'] = '?' . str_replace('&', '&', $target['query']); } + if ($target['scheme'] == 'https' && empty($target['port'])) { + $target['port'] = 443; + } + if (!is_numeric($target['port'])) { $target['port'] = 80; }