Archived
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
+4
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;
}