Summary: | Path not stripped from HTTP Content-Disposition header on later error | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Rolf Eike Beer <kde> |
Component: | http | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.1 | |
Sentry Crash Report: |
Description
Rolf Eike Beer
2011-07-27 20:08:48 UTC
Git commit 54e8eded22c4af61f609b6184cc0293df407a2f9 by Rolf Eike Beer. Committed on 16/07/2011 at 16:19. Pushed by dakon into branch 'master'. 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. CCBUG:278643 M +11 -3 kioslave/http/parsinghelpers.cpp M +14 -0 kioslave/http/tests/httpheaderdispositiontest.cpp http://commits.kde.org/kdelibs/54e8eded22c4af61f609b6184cc0293df407a2f9 Git commit 4077bd26cc54f14d048c6ae90e2a14f2e43c68d2 by Rolf Eike Beer. Committed on 16/07/2011 at 16:19. Pushed by dakon into branch 'KDE/4.7'. 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. CCBUG:278643 FIXED-IN:4.7.1 backport of 54e8eded22c4af61f609b6184cc0293df407a2f9 M +11 -3 kioslave/http/parsinghelpers.cpp M +14 -0 kioslave/tests/httpheaderdispositiontest.cpp http://commits.kde.org/kdelibs/4077bd26cc54f14d048c6ae90e2a14f2e43c68d2 Git commit edb0799c352af02f04e6f50b85412b4118cc86ac by Rolf Eike Beer. Committed on 28/07/2011 at 00:06. Pushed by dakon into branch 'KDE/4.6'. 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. CCBUG:278643 backport of 54e8eded22c4af61f609b6184cc0293df407a2f9 M +11 -3 kioslave/http/parsinghelpers.cpp M +11 -0 kioslave/tests/httpheaderdispositiontest.cpp http://commits.kde.org/kdelibs/edb0799c352af02f04e6f50b85412b4118cc86ac Git commit 367ce8a60024aaf92bb673869ae20efdc35f43a5 by Rolf Eike Beer. Committed on 28/07/2011 at 22:11. Pushed by dakon into branch '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. CCBUG:278643 backport of 54e8eded22c4af61f609b6184cc0293df407a2f9 M +9 -1 kioslave/http/parsinghelpers.cpp M +9 -1 kioslave/tests/httpheaderdispositiontest.cpp http://commits.kde.org/kdelibs/367ce8a60024aaf92bb673869ae20efdc35f43a5 Git commit a51e9a15afd984d92f3b095d3d05e7028701923d by Rolf Eike Beer. Committed on 28/07/2011 at 22:11. Pushed by dakon into branch 'KDE/4.4'. 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. BUG:278643 backport of 54e8eded22c4af61f609b6184cc0293df407a2f9 M +9 -1 kioslave/http/parsinghelpers.cpp M +9 -1 kioslave/tests/httpheaderdispositiontest.cpp http://commits.kde.org/kdelibs/a51e9a15afd984d92f3b095d3d05e7028701923d |