mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Validate and normalize museum URLs when submitting artwork
This commit is contained in:
parent
9c27d80dd9
commit
16df5b29fe
9 changed files with 554 additions and 41 deletions
|
@ -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 . '>.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue