mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 17:08:57 +01: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