Commit 08cdb4e7 authored by Patrick Barroca's avatar Patrick Barroca 😠
Browse files

Merge branch...

Merge branch 'hotline#104907_ajout_type_url_dynamique_vignette_pmb_dans_code_source_de_bokeh' into 'hotline'

hotline #104907 : add PMB thumbnail url detection

See merge request !3389
parents 6076c7ed 433dfb37
Pipeline #9396 passed with stage
in 59 minutes and 18 seconds
- ticket #104907 : Vignettes notices : Ajout de règle de détection d'url de vignettes fournies par PMB
\ No newline at end of file
......@@ -28,6 +28,7 @@ class ZendAfi_Validate_VignetteUrl extends Zend_Validate_Abstract {
'\/cgi-bin\/koha\/opac-image\.pl\?thumbnail=',
'www\.adav-assoc\.com\/.*\/GetImage\/',
'\/dam_picture.php\?id=',
'\/getimage.php\?url_image=',
];
......
......@@ -131,7 +131,8 @@ class ZendAfi_View_Helper_Notice_VignetteNoThumbnailTest
['http://image-cache.org/34.gif'],
['http://image-cache.org/34.jpeg'],
['http://image-cache.org/34.jPg'],
['http://www.adAv-Assoc.com/4DACTION/GetImage/207155']
['http://www.adAv-Assoc.com/4DACTION/GetImage/207155'],
['https://pmb.somewhere.net/pmb/getimage.php?url_image=http%3A%2F%2Fimages.server.com%2Fimages%2FP%2F!!isbn!!.08.MZZZZZZZ.jpg&noticecode=9782204134156&vigurl='],
];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment