a logout to occur when the img src tag is empty. Setting iframe, frame,
or input image to the blank image shouldn't cause any issues.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8826
7612ce4b-ef26-0410-bec9-
ea0150e637f0
with Internet Explorer.
- Replace <img src="outbind://"> links with clean images to stop
issues with Internet Explorer not being able to track down the image.
+ - Empty src attribute on img tags causes logouts (IE only), replacing
+ string with blank.png.
Version 1.5.0
}
}
}
+
+
+ /**
+ * Replace empty src tags with the blank image. src is only used
+ * for frames, images, and image inputs. Doing a replace should
+ * not affect them working as should be, however it will stop
+ * IE from being kicked off when src for img tags are not set
+ */
+ if (($attname == 'src') && ($attvalue = '""')) {
+ $attary{$attname} = '"' . SM_PATH . 'images/blank.png"';
+ }
+
/**
* Turn cid: urls into http-friendly ones.
*/