Revision 367ce8a...

Go back to digest for 31st July 2011

Bug Fixes in KDE Base

Rolf Eike Beer committed changes in [kdelibs/KDE/4.5] /:

fix filename security check being omitted on parse error in HTTP header

A header like this:

Content-Disposition: attachment; filename="/home/eike/.gnupg/gpg.conf";
foo="bar; foo="baz"

would not have the path from the filename stripped because of the later parse
error.

This adds a unit test for this and some other cornercases.

backport of 54e8eded22c4af61f609b6184cc0293df407a2f9

File Changes

Modified 2 files
  •   kioslave/http/parsinghelpers.cpp
  •   kioslave/tests/httpheaderdispositiontest.cpp
2 files changed in total