Validate and normalize museum URLs when submitting artwork

This commit is contained in:
Alex Cabal 2024-01-12 14:20:54 -06:00
parent 9c27d80dd9
commit 16df5b29fe
9 changed files with 554 additions and 41 deletions

View file

@ -6,7 +6,7 @@ class InvalidUrlException extends AppException{
public function __construct(?string $url = null){
if($url !== null){
parent::__construct('Invalid URL: “' . $url . '”.');
parent::__construct('Invalid URL: <' . $url . '>.');
}
}
}