We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b0877 commit e746858Copy full SHA for e746858
src/utils/UriHelper.php
@@ -212,7 +212,7 @@ public static function getPathInfo(?string $requestUri = null, ?string $scriptNa
212
213
public static function buildStringFromParts(array $uriParts): string
214
{
215
- $join[] = $scheme = $uriParts['scheme'] ?? 'http';
+ $join[] = $scheme = $uriParts['scheme'] ?? '';
216
$join[] = '://';
217
if (!empty($uriParts['user'])) {
218
$join[] = $uriParts['user'];
@@ -221,7 +221,7 @@ public static function buildStringFromParts(array $uriParts): string
221
}
222
$join[] = '@';
223
224
- $join[] = $uriParts['host'] ?? 'localhost';
+ $join[] = $uriParts['host'] ?? '';
225
if (isset($uriParts['port'])) {
226
$port = $uriParts['port'];
227
if (
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments