• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision87416fbe41cd55cb0b804b277faaee0e87917664 (tree)
l'heure2017-09-04 02:26:28
Auteurumorigu <umorigu@gmai...>
Commiterumorigu

Message de Log

BugTrack/341 Support Port 443 of non-https sites

Change Summary

Modification

--- a/lib/func.php
+++ b/lib/func.php
@@ -881,8 +881,7 @@ function _pkwk_base_uri_type_stack($peek, $push, $uri_type)
881881 function guess_script_absolute_uri()
882882 {
883883 $port = SERVER_PORT;
884- $is_ssl = (SERVER_PORT == 443) ||
885- (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ||
884+ $is_ssl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ||
886885 (isset($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] === 'https');
887886 if ($is_ssl) {
888887 $host = 'https://' . SERVER_NAME .