/[gentoo-x86]/kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch
Gentoo

Contents of /kde-base/kdelibs/files/kdelibs-4.10.2-security-url-dont-show-password.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download) (as text)
Sat Dec 14 21:56:43 2013 UTC (6 years, 11 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Remove unused patches.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 commit 65d736dab592bced4410ccfa4699de89f78c96ca
2 Author: Grégory Oestreicher <greg@kamago.net>
3 Date: Wed May 8 23:16:00 2013 +0200
4
5 Don't show passwords contained in HTTP URLs in error messages
6 BUG: 319428
7
8 diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
9 index 2d139a9..129fc7b 100644
10 --- a/kioslave/http/http.cpp
11 +++ b/kioslave/http/http.cpp
12 @@ -3056,7 +3056,7 @@ try_again:
13 ; // Ignore error
14 } else {
15 if (!sendErrorPageNotification()) {
16 - error(ERR_INTERNAL_SERVER, m_request.url.url());
17 + error(ERR_INTERNAL_SERVER, m_request.url.prettyUrl());
18 return false;
19 }
20 }
21 @@ -3072,9 +3072,9 @@ try_again:
22 // Tell that we will only get an error page here.
23 if (!sendErrorPageNotification()) {
24 if (m_request.responseCode == 403)
25 - error(ERR_ACCESS_DENIED, m_request.url.url());
26 + error(ERR_ACCESS_DENIED, m_request.url.prettyUrl());
27 else
28 - error(ERR_DOES_NOT_EXIST, m_request.url.url());
29 + error(ERR_DOES_NOT_EXIST, m_request.url.prettyUrl());
30 return false;
31 }
32 } else if (m_request.responseCode >= 301 && m_request.responseCode<= 303) {

  ViewVC Help
Powered by ViewVC 1.1.20