Commit 65d736da authored by Grégory Oestreicher's avatar Grégory Oestreicher
Browse files

Don't show passwords contained in HTTP URLs in error messages

BUG: 319428
parent dfac74f8
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment