Improve textsec-domain-suspicious-p message
* lisp/international/textsec.el (textsec-domain-suspicious-p): Improve warning message.
This commit is contained in:
parent
c027ad59dd
commit
536ad66ae3
1 changed files with 4 additions and 1 deletions
|
@ -252,7 +252,10 @@ or use certain other unusual mixtures of characters."
|
|||
domain)
|
||||
;; Does IDNA allow it?
|
||||
(unless (puny-highly-restrictive-domain-p domain)
|
||||
(throw 'found (format "`%s' is not highly-restrictive" domain)))
|
||||
(throw
|
||||
'found
|
||||
(format "`%s' mixes characters from different scripts in suspicious ways"
|
||||
domain)))
|
||||
;; Check whether any segment of the domain name is confusable with
|
||||
;; an ASCII-only segment.
|
||||
(dolist (elem (split-string domain "\\."))
|
||||
|
|
Loading…
Add table
Reference in a new issue