Re: Mail with unencoded charter in Subject: causes Squirrelmail to hang

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

 



> you).  Change that while loop to look like this:
> 
>       while ($entity_end_pos + 1 < $actual_strlen
>           && ($entity_pos = sq_strpos($string, '&', $entity_end_pos + 1)) !== FALSE
>           && ($entity_end_pos = sq_strpos($string, ';', $entity_pos)) !== FALSE
>           && $entity_pos <= $adjusted_max_chars)

This fixes the issue for me.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@xxxxxxxxxx | http://www.charite.de
	    

------------------------------------------------------------------------------

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