From: Edward E. <web...@ed...> - 2006-06-06 02:38:00
|
I saw something similar while playing with webcleaner. I think it's related to compression and chunked transfers. Somehow the chunks produce leftover data at the beginning/end of the block when decompressed. Try disabling the Compress filter in the config and see if that helps. Oleg Broytmann wrote: > Hello. > > Recently I encountered a problem. I have upgraded Firefox to 1.5.0.4 and > SeaMonkey to 1.0.2. Immediately after upgrade I found most sites look > incorrectly - the browsers ignore almost all images. Initially I thought > this is a problem with the browsers but after some experiments I found it > is webcleaner that breaks images. > Also I found that in the upper left corner of the screen (or of an every > frame) there are some strange additional characters, usually numbers. They > are added by webcleaner. > I did an investigation. I wrote a shell script to download files with > and without webcleaner: > > http_proxy=http://localhost:3333 GET "$1" > name="`basename \"$1\"`" > mv "$name" "$name-webc" > http_proxy=http://localhost:3128 GET "$1" > > (I run webcleaner on port 3333) and tested some files. I found > webcleaner adds garbage to files. For example this is how webcleaner > transforms http://python.org/index.html : > > 148^M > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta content="text/html; charset=utf-8" http-equiv="content-type"/> > <title>Python Programming Language -- Official Website</title>5c4f > > [skip] > > </body> > </html> > 0^M > ^M > > (I use ^M to mark 0x0d (\r) character also added by webcleaner). So it > seems webcleaner adds some garbage in the beginning, at the end, and even in > the middle of the file (after </title>, e.g.) > What's up? Is it a bug in webcleaner? or my local configuration? > > Oleg. |