Relax restriction on image tag src URIs. Others PLEASE TEST (HTML mails with unsafe...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 11 Sep 2008 01:32:56 +0000 (01:32 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 11 Sep 2008 01:32:56 +0000 (01:32 +0000)
commit8bbbc757da66a7d226c0723ba7b47cb711b728e0
tree2afd2604636647b20a3d19745efa8adfef535fbe
parent5083f41e9e6afbb7d7eae33a159abc5ab112e124
Relax restriction on image tag src URIs.  Others PLEASE TEST (HTML mails with unsafe images).  Per the developers mailing list, no one could show that there was any exploit here.  Some code has been inserted here but commented out in case there is in fact some exploit - the code will filter image URI file extensions as before but for URIs that fail that test, SM will check the actual served content for legitimate image files (so dynamically generated images from .asp, .php, and other systems can be correctly displayed).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13277 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/mime.php