Skip to content
Snippets Groups Projects
Commit 433dfb37 authored by Patrick Barroca's avatar Patrick Barroca 😁
Browse files

hotline #104907 : add PMB thumbnail url detection

parent cd22ab37
4 merge requests!3413WIP: Dev#106075 explo france connect avec identifiant gpsea,!3410Master,!3401Hotline,!3389hotline #104907 : add PMB thumbnail url detection
Pipeline #9395 passed with stage
in 58 minutes and 53 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 { ...@@ -28,6 +28,7 @@ class ZendAfi_Validate_VignetteUrl extends Zend_Validate_Abstract {
'\/cgi-bin\/koha\/opac-image\.pl\?thumbnail=', '\/cgi-bin\/koha\/opac-image\.pl\?thumbnail=',
'www\.adav-assoc\.com\/.*\/GetImage\/', 'www\.adav-assoc\.com\/.*\/GetImage\/',
'\/dam_picture.php\?id=', '\/dam_picture.php\?id=',
'\/getimage.php\?url_image=',
]; ];
......
...@@ -131,7 +131,8 @@ class ZendAfi_View_Helper_Notice_VignetteNoThumbnailTest ...@@ -131,7 +131,8 @@ class ZendAfi_View_Helper_Notice_VignetteNoThumbnailTest
['http://image-cache.org/34.gif'], ['http://image-cache.org/34.gif'],
['http://image-cache.org/34.jpeg'], ['http://image-cache.org/34.jpeg'],
['http://image-cache.org/34.jPg'], ['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='],
]; ];
} }
......
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