diff options
author | Johannes Huber <johu@gentoo.org> | 2013-05-09 04:15:35 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2013-05-09 04:15:35 +0000 |
commit | 88a3ff1d012857a4b973dc4547e422c54fc04001 (patch) | |
tree | 4f5f110d8b034d6a3f90c2837dee659868fa20a5 /kde-base/kdelibs/files | |
parent | Old. (diff) | |
download | gentoo-2-88a3ff1d012857a4b973dc4547e422c54fc04001.tar.gz gentoo-2-88a3ff1d012857a4b973dc4547e422c54fc04001.tar.bz2 gentoo-2-88a3ff1d012857a4b973dc4547e422c54fc04001.zip |
Revision bump. Upstream security fix to not show passwords contained in HTTP URLs in error messages via packagers ml.
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch b/kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch new file mode 100644 index 000000000000..3d98a47ae8b6 --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch @@ -0,0 +1,32 @@ +commit 65d736dab592bced4410ccfa4699de89f78c96ca +Author: Grégory Oestreicher <greg@kamago.net> +Date: Wed May 8 23:16:00 2013 +0200 + + Don't show passwords contained in HTTP URLs in error messages + BUG: 319428 + +diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp +index 2d139a9..129fc7b 100644 +--- a/kioslave/http/http.cpp ++++ b/kioslave/http/http.cpp +@@ -3056,7 +3056,7 @@ try_again: + ; // Ignore error + } else { + if (!sendErrorPageNotification()) { +- error(ERR_INTERNAL_SERVER, m_request.url.url()); ++ error(ERR_INTERNAL_SERVER, m_request.url.prettyUrl()); + return false; + } + } +@@ -3072,9 +3072,9 @@ try_again: + // Tell that we will only get an error page here. + if (!sendErrorPageNotification()) { + if (m_request.responseCode == 403) +- error(ERR_ACCESS_DENIED, m_request.url.url()); ++ error(ERR_ACCESS_DENIED, m_request.url.prettyUrl()); + else +- error(ERR_DOES_NOT_EXIST, m_request.url.url()); ++ error(ERR_DOES_NOT_EXIST, m_request.url.prettyUrl()); + return false; + } + } else if (m_request.responseCode >= 301 && m_request.responseCode<= 303) { |