Skip to content

Commit

Permalink
Skip validation of url
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Wojciechowski committed Mar 20, 2024
1 parent df80e2a commit 18bbe0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Fields/PointOfSale/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class Url extends Field
protected $name = __CLASS__;
protected $type = self::STRING;
protected $maxLength = 255;
protected $pattern = 'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,12}\b([-a-zA-Z0-9@:%_\+.~#?&\/=]*)';
protected $pattern = 'http.*';
}

0 comments on commit 18bbe0e

Please sign in to comment.