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 b0a2d39 commit 78d7687Copy full SHA for 78d7687
src/Forms/ClientForm.php
@@ -35,7 +35,7 @@ class ClientForm extends Form
35
/**
36
* RFC3986. AppendixB. Parsing a URI Reference with a Regular Expression.
37
*/
38
- final public const REGEX_URI = '/^[^:]+:\/\/?[^\s\/$.?#].[^\s]*$/';
+ final public const REGEX_URI = '/^[^:]+:\/\/?([^\s\/$.?#].[^\s]*)?$/';
39
40
41
* Must have http:// or https:// scheme, and at least one 'domain.top-level-domain' pair, or more subdomains.
0 commit comments