Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Libraries
Commits
65d736da
Commit
65d736da
authored
May 08, 2013
by
Grégory Oestreicher
Browse files
Don't show passwords contained in HTTP URLs in error messages
BUG: 319428
parent
dfac74f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
kioslave/http/http.cpp
View file @
65d736da
...
...
@@ -3056,7 +3056,7 @@ try_again:
;
// Ignore error
}
else
{
if
(
!
sendErrorPageNotification
())
{
error
(
ERR_INTERNAL_SERVER
,
m_request
.
url
.
u
rl
());
error
(
ERR_INTERNAL_SERVER
,
m_request
.
url
.
prettyU
rl
());
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
.
u
rl
());
error
(
ERR_ACCESS_DENIED
,
m_request
.
url
.
prettyU
rl
());
else
error
(
ERR_DOES_NOT_EXIST
,
m_request
.
url
.
u
rl
());
error
(
ERR_DOES_NOT_EXIST
,
m_request
.
url
.
prettyU
rl
());
return
false
;
}
}
else
if
(
m_request
.
responseCode
>=
301
&&
m_request
.
responseCode
<=
303
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment