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

Bug#570733: konqueror: Improper handling of blank 404s

Package: konqueror
Version: 4:4.3.2-1
Severity: normal

Accessing http://www.sciencenews.org/articles/20070317/fob7.asp gives a
404 response with a Refresh: header and a zero-length body.  (There's a
packet dump of the offending HTTP response at the bottom of the bug report). 
Konqueror reacts to that by displaying the following message:
The requested operation could not be completed
File or Folder Does Not Exist
Details of the Request:
URL: http://www.sciencenews.org/articles/20070317/fob7.asp
Protocol: http
Date and Time: Saturday 20 February 2010 13:57
Additional Information: www.sciencenews.org
The specified file or folder /articles/20070317/fob7.asp does not exist.
Possible Causes:
You may have encountered a bug in the program.
Possible Solutions:
Update your software to the latest version. Your distribution should provide tools to update your software.
Contact your appropriate computer support system, whether the system administrator, or technical support group for further assistance.
While I'm not sure if Sciencenews.org's response is valid HTTP (I thought
servers were supposed to use 3xx codes for redirects?), this error message
is not very helpful.  If it's valid HTTP, the browser should honor the
redirect directive (like Lynx and Iceweasel do).  If it's not valid HTTP,
the browser should put the offending HTTP headers on the error message
page.  (Currently, the HTTP headers for the error are not available from
within Konqueror at all - the 'Show Document Information' menu option
only gives the URL, the title of the Konqueror window, and the encoding.).
If it's undefined behaviour in the HTTP spec, the browser should probably
display a notice to that effect and provide a link to the Refresh: header's

Packet dump of the offending HTTP response:
        0x0000:  4520 0237 fd34 4000 2f06 3fbd ce10 f78b  E..7.4@./.?.....
        0x0010:  425c 04b7 0050 ab7c e2ea e8f6 5607 0c8a  B\...P.|....V...
        0x0020:  8018 0036 ab87 0000 0101 080a 1efd 9c62  ...6...........b
        0x0030:  1095 62f5 4854 5450 2f31 2e31 2034 3034  ..b.HTTP/1.1.404
        0x0040:  204e 6f74 2046 6f75 6e64 0d0a 4461 7465  .Not.Found..Date
        0x0050:  3a20 5361 742c 2032 3020 4665 6220 3230  :.Sat,.20.Feb.20
        0x0060:  3130 2032 313a 3337 3a30 3620 474d 540d  10.21:37:06.GMT.
        0x0070:  0a53 6572 7665 723a 2041 7061 6368 652f  .Server:.Apache/
        0x0080:  322e 322e 3320 2852 6564 2048 6174 290d  2.2.3.(Red.Hat).
        0x0090:  0a58 2d50 6f77 6572 6564 2d42 793a 2050  .X-Powered-By:.P
        0x00a0:  4850 2f35 2e31 2e36 0d0a 5365 742d 436f  HP/5.1.6..Set-Co
        0x00b0:  6f6b 6965 3a20 5048 5053 4553 5349 443d  okie:.PHPSESSID=
        0x00c0:  3676 656e 386c 746c 3366 6467 3433 3967  6ven8ltl3fdg439g
        0x00d0:  3638 356e 736f 6333 7237 3b20 7061 7468  685nsoc3r7;.path
        0x00e0:  3d2f 0d0a 4578 7069 7265 733a 2054 6875  =/..Expires:.Thu
        0x00f0:  2c20 3139 204e 6f76 2031 3938 3120 3038  ,.19.Nov.1981.08
        0x0100:  3a35 323a 3030 2047 4d54 0d0a 4361 6368  :52:00.GMT..Cach
        0x0110:  652d 436f 6e74 726f 6c3a 206e 6f2d 7374  e-Control:.no-st
        0x0120:  6f72 652c 206e 6f2d 6361 6368 652c 206d  ore,.no-cache,.m
        0x0130:  7573 742d 7265 7661 6c69 6461 7465 2c20  ust-revalidate,.
        0x0140:  706f 7374 2d63 6865 636b 3d30 2c20 7072  post-check=0,.pr
        0x0150:  652d 6368 6563 6b3d 300d 0a50 7261 676d  e-check=0..Pragm
        0x0160:  613a 206e 6f2d 6361 6368 650d 0a52 6566  a:.no-cache..Ref
        0x0170:  7265 7368 3a20 303b 2055 524c 3d2f 7669  resh:.0;.URL=/vi
        0x0180:  6577 2f67 656e 6572 6963 2f69 642f 3833  ew/generic/id/83
        0x0190:  3332 2f74 6974 6c65 2f54 6865 5f4e 6578  32/title/The_Nex
        0x01a0:  745f 4765 6e65 7261 7469 6f6e 5f49 6e74  t_Generation_Int
        0x01b0:  656c 5f53 6369 656e 6365 5f54 616c 656e  el_Science_Talen
        0x01c0:  745f 5365 6172 6368 5f68 6f6e 6f72 735f  t_Search_honors_
        0x01d0:  6869 6768 5f73 6368 6f6f 6c5f 6163 6869  high_school_achi
        0x01e0:  6576 6572 730d 0a43 6f6e 7465 6e74 2d4c  evers..Content-L
        0x01f0:  656e 6774 683a 2030 0d0a 436f 6e6e 6563  ength:.0..Connec
        0x0200:  7469 6f6e 3a20 636c 6f73 650d 0a43 6f6e  tion:.close..Con
        0x0210:  7465 6e74 2d54 7970 653a 2074 6578 742f  tent-Type:.text/
        0x0220:  6874 6d6c 3b20 6368 6172 7365 743d 5554  html;.charset=UT
        0x0230:  462d 380d 0a0d 0a                        F-8....

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages konqueror depends on:
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  kdebase-bin               4:4.3.2-1      core binaries for the KDE 4 base m
ii  kdebase-data              4:4.3.2-1      shared data files for the KDE 4 ba
ii  kdebase-runtime           4:4.3.4-2      runtime components from the offici
ii  kdelibs5                  4:4.3.4-1      core libraries for all KDE 4 appli
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libkonq5                  4:4.3.2-1      core libraries for Konqueror
ii  libkonqsidebarplugin4     4:4.3.2-1      Konqueror sidebar plugin library
ii  libqt4-dbus               4:4.5.3-4      Qt 4 D-Bus module
ii  libqt4-qt3support         4:4.5.3-4      Qt 3 compatibility library for Qt 
ii  libqt4-xml                4:4.5.3-4      Qt 4 XML module
ii  libqtcore4                4:4.5.3-4      Qt 4 core module
ii  libqtgui4                 4:4.5.3-4      Qt 4 GUI module
ii  libstdc++6                4.4.2-9        The GNU Standard C++ Library v3
ii  libx11-6                  2:1.3.2-1      X11 client-side library

Versions of packages konqueror recommends:
ii  dolphin                       4:4.3.2-1  file manager for KDE 4
ii  konqueror-nsplugins           4:4.3.2-1  Netscape plugin support for Konque

Versions of packages konqueror suggests:
pn  konq-plugins                  <none>     (no description available)

-- no debconf information

Reply to: