Commit e590d8c3 authored by Patrick Barroca's avatar Patrick Barroca 🐧

hotline #79470 : add edenlivres as allowed thumbnail source

parent f19c48a0
Pipeline #9700 passed with stage
in 43 minutes and 19 seconds
- ticket #79470 : Ressources numériques : Amélioration de la reconnaissance des urls de vignettes PNB
\ No newline at end of file
...@@ -29,6 +29,7 @@ class ZendAfi_Validate_VignetteUrl extends Zend_Validate_Abstract { ...@@ -29,6 +29,7 @@ class ZendAfi_Validate_VignetteUrl extends Zend_Validate_Abstract {
'www\.adav-assoc\.com\/.*\/GetImage\/', 'www\.adav-assoc\.com\/.*\/GetImage\/',
'\/dam_picture.php\?id=', '\/dam_picture.php\?id=',
'\/getimage.php\?url_image=', '\/getimage.php\?url_image=',
'assets\.edenlivres\.fr',
]; ];
......
...@@ -133,6 +133,7 @@ class ZendAfi_View_Helper_Notice_VignetteNoThumbnailTest ...@@ -133,6 +133,7 @@ class ZendAfi_View_Helper_Notice_VignetteNoThumbnailTest
['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='], ['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='],
['https://assets.edenlivres.fr/medias/5a/7d085242b36baea096417183b7c42d792b065b.jpg?h=-&w=65'],
]; ];
} }
......
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