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

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

 



* Paul Lesniewski <paul@xxxxxxxxxxxxxxxx>:

> I believe you are correct.  There is a bug report on the tracker for
> this and a solution is available, although I am still fine-tuning the
> details.  I hope it goes without saying that the sending client needs
> to fix their stuff.  :-)

Yes, that's true.

> In the meantime, for a quick fix, you can open functions/strings.php
> and find the while loop on around line 191 (I think that line # is from
> 1.4.21SVN so might be a little off for you).

No, it's on 191

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

will try

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