1
0
This commit is contained in:
Garvin Hicking
2013-08-15 15:30:56 +02:00
parent 1b06ae8c30
commit 17aae92f7f
2 changed files with 16 additions and 0 deletions

View File

@ -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 ()
------------------------------------------------------------------------

View File

@ -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;
}