It works perfectly well, Thanks a lot.
_______________________ andrés chandía El Lun, 23 de Agosto de 2010, 14:04, kwadronaut escribió: > Hello, > > On 23/08/10 12:20, "Andrés Chandía" wrote: >> At a mail that contains unsafe images, the option of showing the images >> works well, but when the option "Always trust images from this sender" >> appears and I click it, it gives me back this error: >> >> >> Not Found >> >> The requested URL /plugins/unsafe_image_rules/add.php<br >> /><b>Deprecated</b>: Function eregi() is deprecated in >> <b>/usr/share/squirrelmail/plugins/unsafe_image_rules/functions.php</b> >> on line <b>335</b><br /> was not found on this server. > > Replace the function with preg_match. Please test this patch, ameliorate > if necessary and give feedback, I haven't tested this myself: > $ cat functions.php.patch > 335c335 > < while (eregi('(' . $Email_RegExp_Match . ')', $str, $hits)) { > --- >> while(preg_match('/'.$Email_RegExp_Match.'/i', $str, $hits)) { > > According to the readme the current maintainer is Fredrik Jervfors, > maybe you can ask him/her for a comment too. > > have a nice day, > kwadronaut > ----------------------looking for jobs--------------------- > >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users