From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 4 Oct 2004 15:58:33 +0400 From: "Konstantin A. Lepikhov" To: ALT Linux Sisyphus discussion list Message-ID: <20041004115833.GA8994@lks.home> Mail-Followup-To: ALT Linux Sisyphus discussion list References: <20041003185614.GA15785@lks.home> <4160D01E.40908@diamonds.ru> <20041004082635.GB28927@lks.home> <4161257B.1040906@diamonds.ru> <20041004111452.GA7206@lks.home> <416133C7.4080509@diamonds.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <416133C7.4080509@diamonds.ru> User-Agent: Mutt/1.4.2.1i X-Operation-System: ALT Linux Sisyphus (20040921) 2.6.8-wks26-up-alt3 X-Virus-Scanned: by amavisd-new at smtp.elektrostal.ru Subject: [sisyphus] Re: Q: =?koi8-r?b?zsUg0M/SwSDMySDPws7P18nU2A==?= Squirrelmail? X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 11:58:10 -0000 Archived-At: List-Archive: Hi Evgeniy! Monday 04, at 03:28:07 PM you wrote: > Konstantin A. Lepikhov wrote: > >>Тут недавно ещё писали про баг с qt; и т.п. > >>Грязный хак - в src/compose.php в районе 1070 строки > >>echo htmlspecialchars(decodeHeader($body,false,false)); > >>исправить на > >>echo decodeHeader($body,false,false); > >>тогда будет нормальное квотирование. > > > >в bugzilla? > > не уверен, причем сильно, ибо не знаю как это отразится на security. вот кусок diff'а с cvs версией: --- compose.php.old 2004-10-02 14:08:23 +0400 +++ compose.php 2004-10-01 02:56:41 +0400 @@ -1064,190 +1064,188 @@ function showInputForm ($session, $value if ($default_charset == 'iso-2022-jp') { echo "\n\n".($prefix_sig==true? "-- \n":'').mb_convert_encoding($signature, 'EUC-JP'); }else{ - echo "\n\n".($prefix_sig==true? "-- \n":'').decodeHeader($signature,false,false); + echo "\n\n".($prefix_sig==true? "-- \n":'').decodeHeader($signature,false,false); + } } - } - } - else { - echo htmlspecialchars(decodeHeader($body,false,false)); + } else { + echo htmlspecialchars(decodeHeader($body,false,false)); } echo '
' . "\n" . по-видимому, они в скобках запутались. -- WBR, Konstantin chat with ==>ICQ: 109916175 Lepikhov, speak to ==>JID: lakostis@jabber.org aka L.A. Kostis write to ==>mailto:lakostis@pisem.net.nospam ...The information is like the bank... (c) EC8OR