Re: Unsafe Image Rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 file, line 710: "echo $download_and_unsafe_link;"

the link created by the previous function when clicked shows an empty body if the plugin
"Unsafe Image Rules" is activated

README OF THIS PLUGIN SAYS
"A user may now build a list of rules that will be used to determine if unsafe
images will be shown in HTML messages. If a message matches any of the rules and
contains images that would normally be initially hidden, then they are now shown
by default."

activating php error display I got this:

Error: Call to undefined function eregi() in
/usr/share/squirrelmail/plugins/unsafe_image_rules/functions.php on line 335
Call Stack
#	Time	Memory	Function	Location
1	0.0070	377968	{main}( )	.../read_body.php:0
2	0.5840	1474472	formatEnvheader( )	.../read_body.php:875
3	0.5920	1544800	formatToolbar( )	.../read_body.php:517
4	0.5921	1545864	do_hook( )	.../read_body.php:713
5	0.5963	1588688	unsafe_image_rules_link( )	.../plugin.php:52
6	0.5963	1588688	unsafe_image_rules_link_do( )	.../setup.php:40
7	0.5963	1588912	unsafe_image_rules_link_array( )	.../functions.php:378
8	0.5963	1588992	unsafe_image_rules_link_string( )	.../functions.php:350

Thanks again Paul!

andrés chandía



-----
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




[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux