mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
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