mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 23:00:28 -04:00
Normalize URLs when submitting artwork to database
This commit is contained in:
parent
f9c873003e
commit
e17a4bcc65
10 changed files with 182 additions and 29 deletions
6
lib/Exceptions/InvalidInternetArchiveUrlException.php
Normal file
6
lib/Exceptions/InvalidInternetArchiveUrlException.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class InvalidInternetArchiveUrlException extends InvalidUrlException{
|
||||
protected $message = 'Invalid Internet Archive URL. Internet Archive URLs begin with “https://archive.org/details/” and must be in single-page view. An example of a valid Internet Archive URL is “https://archive.org/details/royalacademypict1902roya/page/n9/mode/1up”.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue