Mark links with a password as "sneaky"
This commit is contained in:

committed by
Scott Nonnenberg

parent
bf6487c5b9
commit
a5fde38c98
@@ -117,7 +117,7 @@ function isLinkSneaky(href) {
|
||||
}
|
||||
|
||||
// Any links which contain auth are considered sneaky
|
||||
if (url.username) {
|
||||
if (url.username || url.password) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user