Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit f00089a

Browse files
committed
Fix #38
1 parent c9c1cb8 commit f00089a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ private function editSync(string $type, JSONReader $c) : void {
312312
$check = array(
313313
'path' => fn(string $p) => is_dir($p) && is_writable($p),
314314
'thisname' => fn(string $n) => InputParser::checkDeviceName($n),
315-
'uri' => fn(string $u) => @filter_var($u, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED | FILTER_FLAG_SCHEME_REQUIRED),
315+
'uri' => fn(string $u) => @filter_var($u, FILTER_VALIDATE_URL),
316316
'group' => fn(string $g) => preg_match('/^[A-Za-z0-9]+$/', $g) === 1,
317317
'token' => fn(string $t) => preg_match('/^[A-Za-z0-9]+$/', $t) === 1,
318318
);

core/Utilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
class Utilities {
66

7-
const VERSION = 'v1.1.1';
7+
const VERSION = 'v1.1.2';
88

99
const DEFAULT_LINE_LENGTH = 125;
1010

0 commit comments

Comments
 (0)