El Mie, 6 de Enero de 2021, 20:36, Paul Lesniewski escribió: ·· ·· ·· On Wed, January 6, 2021 7:16 pm, "Andrés Chandía" wrote: ··> ··> ··> El Mie, 6 de Enero de 2021, 20:05, "Andrés Chandía" escribió: ··> ·· ··> ·· ··> ·· El Mie, 6 de Enero de 2021, 19:36, Paul Lesniewski escribió: ··> ·· ·· ··> ·· ·· ··> ·· ·· On Wed, January 6, 2021 6:01 pm, "Andrés Chandía" wrote: ··> ·· ··> ··> ·· ··> ··> ·· ··> Still finding some issues, now with the unsafe_image_rules plugin. ··> ·· ··> ··> ·· ··> If I activate ··> ·· ··> this plugin when clicking the link to "See unsafe images" the ··> entire email ··> ·· ··> body ··> ·· ··> desapears, clicking back the "hide unsafe images" shows the email ··> body ··> ·· ··> again. ··> ·· ·· ··> ·· ·· http://squirrelmail.org/docs/admin/admin-11.html#ss11.1 ··> ·· ·· ··> ·· ··> If the plugin is not activated the "see unsafe images" works ok. ··> ·· ·· ··> ·· ·· This makes no sense. If you deactivate the plugin, said feature ··> will be ··> ·· ·· gone. Maybe you have the plugin installed twice or something else ··> quite ··> ·· ·· mixed up. ··> ·· ·· ··> ·· ··> SM 1.4.23 [SVN] ··> ·· ··> Unsafe Image Rules Version 0.8 ··> ·· ·· ··> ·· ··> ·· ··> ·· ··> ·· It does make sense, I'm talking about the "View unsafe images" link ··> that comes from ··> ·· /src/read_body.php ·· ·· Indeed, a bit hasty on my part. ·· ··> ·· Error: Call to undefined function eregi() in ··> ·· /usr/share/squirrelmail/plugins/unsafe_image_rules/functions.php on ·· ·· This is why reviewing the mailing list posting guidelines and including ·· all the information requested is important. ·· ··> in line 335 of ··> /usr/share/squirrelmail/plugins/unsafe_image_rules/functions.php ··> there was: ··> ··> while (eregi('(' . $Email_RegExp_Match . ')', $str, $hits)) { ··> ··> changing it to: ··> while (preg_match('(' . $Email_RegExp_Match . ')', $str, $hits)) { ··> ··> solved the problem ·· ·· That's the right fix. ·· ·· ·· ·· Thanks again Paul , it's just that maybe I did the wrong search because I didn't find it.... anyway, if it helps anybody, I know it is not the right way to do it but in my file /src/read_body.php line 710 I added: echo $download_and_unsafe_link. " | <a href='/plugins/unsafe_image_rules/options.php'>Visualization rules for images</a> "; Thanks again. ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users