Skip to content

Commit fef0143

Browse files
committed
1 parent 16dc562 commit fef0143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/system/option/URLOptionType.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class URLOptionType extends TextOptionType
1919
protected function getContent(Option $option, $newValue)
2020
{
2121
if ($newValue && !\preg_match('~^https?://~i', $newValue)) {
22-
$newValue = 'http://' . $newValue;
22+
$newValue = 'https://' . $newValue;
2323
}
2424

2525
return parent::getContent($option, $newValue);

0 commit comments

Comments
 (0)