[SM-USERS] Bug Report

2007-08-22 Thread chose
I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [X]  False - Please CC me when replying

This bug occurs when I ...
  ... view a particular message.




The description of the bug:
There is a email with czech chars in the subject, sent with read
confirmation. If I've EN squirrelmail, all's ok. But if I use language
cs_CZ, subject in email that gets sender is like this:
 " Přečtena: =?iso-8859-2?Q?=B9=B9=B9? =   "

I could send you ok and bad mail.

Mail body is ok.




I can reproduce the bug by:


(Optional) I got really bored and here's a fix:
I've corrected it by a little change in the src/read_body.php:
"$rfc822_header->subject = _("Read:") . ' ' .
encodeHeader($header->subject);" changed -> "$rfc822_header->subject =
_("Read:") . ' ' . decodeHeader($header->subject,false,false,true);"

This is a solution for my problem, of course I don't know how this affect
anything else is different languages...

--

My browser information:
  Mozilla/5.0 (X11; U; Linux i686 (x86_64); cs-CZ; rv:1.8.1.4)
Gecko/20061023 SUSE/2.0.0.4-1.1 Firefox/2.0.0.4

My web server information:
  PHP Version 5.1.2
  PHP Extensions (List)
* 0 = libxml
* 1 = xml
* 2 = standard
* 3 = SimpleXML
* 4 = SPL
* 5 = session
* 6 = Reflection
* 7 = date
* 8 = pcre
* 9 = apache2handler
* 10 = bcmath
* 11 = bz2
* 12 = calendar
* 13 = ctype
* 14 = curl
* 15 = dba
* 16 = dbase
* 17 = dom
* 18 = exif
* 19 = filepro
* 20 = ftp
* 21 = gd
* 22 = gettext
* 23 = gmp
* 24 = iconv
* 25 = imap
* 26 = mbstring
* 27 = mcrypt
* 28 = mhash
* 29 = mysql
* 30 = mysqli
* 31 = ncurses
* 32 = odbc
* 33 = openssl
* 34 = pcntl
* 35 = PDO
* 36 = pgsql
* 37 = posix
* 38 = pspell
* 39 = shmop
* 40 = soap
* 41 = sockets
* 42 = sysvmsg
* 43 = sysvsem
* 44 = sysvshm
* 45 = tokenizer
* 46 = wddx
* 47 = xmlreader
* 48 = xmlrpc
* 49 = xsl
* 50 = zlib

SquirrelMail-specific information:
  Version:  1.4.10a
  Plugins (List)
* 0 = abook_take
* 1 = delete_move_next
* 2 = filters
* 3 = mail_fetch
* 4 = newmail
* 5 = message_details
* 6 = quota_usage
* 7 = block_sender
* 8 = smallcal
* 9 = quicksave
* 10 = abook_import_export
* 11 = view_as_html
* 12 = autocomplete
* 13 = jsclock
* 14 = username
* 15 = abook_group
* 16 = archive_mail
* 17 = folder_sizes
* 18 = login_notes
* 19 = avelsieve
* 20 = calendar
* 21 = compatibility
* 22 = bug_report
* 23 = timeout_user
* 24 = image_buttons
* 25 = gpg
* 26 = html_mail
* 27 = smime
* 28 = useracl
* 29 = show_thumb

My IMAP server information:
  Server type:  cyrus
  Server info:  * OK [HIDDEN] Cyrus IMAP4 v2.2.12 server ready
  Capabilities:  IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
X-NETSCAPE



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] SM 1.4.22 on php 5.6.1/apache 2.4.10 problems

2015-03-19 Thread chose
  Good afternoon,
  thanks for the tip. The patches didn't work to me, but I've solved it by
the changing some lines in the "mime.php":
about line 711:
...
...
$replace = $res[4];
...
...

replace and add:
$replace = str_replace('_', ' ', $res[4]);
$replace = quoted_printable_decode ($replace);

   This worked for me, seem all is all right

   Thanks and best regards
  Josef Karliak




>> Date: Tue, 17 Mar 2015 09:16:31 +0100
>> From: ch...@ajetaci.cz
>> To: squirrelmail-users@lists.sourceforge.net
>> Subject: [SM-USERS] SM 1.4.22 on php 5.6.1/apache 2.4.10 problems
>>
>>   Good morning,
>>   I've some issues with SM. I've solved some its issues with IE11 (user
>> could not download attachments with some czech characters or space in
>> the attachments name - changed/added some code to mime.php ).
>> But there is an issue with displaying some subject or sender's name. In
>> the Firefox too.
>>   In case of the name - if i put a curson on that empty field and wait a
>> few seconds, I can see an email. In this cases there is an Czech
>> character in the sender's name. But there is a lot of emails with Czech
>> character in the name that are displayed correctly.
>>   In case of the subject - this field is blank randomly :-/
>>
>>   Does anybody has this issue ?
>>
>>   Thanks and best regards
>>   J.Karliak
>
> Hi Josef,
>
> I had a series of issues when upgrading to OpenSuse13.2 that has apache
> 2.4.10 and php 5.6. Both components have been changed in a few ways. (I
> don't know enough about these platforms to be able to be specific). I
> found that the "late December" Squirrelmail 1.4.23 SVN with a "manual
> character set fix" patch worked 99% for me (together with some apache- and
> php-related adjustments to the various previous config files that you will
> have to google for).
>
> I still experience a character set problem for the sender name (although
> the e-mail is listed and clickable in the main Squirrelmail screen). And I
> can't seem to change the config to accept e-mails larger than 2MB after
> the upgrade. It's not perfect but reasonably usable.
>
> Look at the mailing list's archive from 2014-12 until 2015-03 for more
> information and a link to the patch. Please report back your results.
>
> Cheers
>
> Niclas
>
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users