diff options
| -rw-r--r-- | lisp/international/textsec.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el index db13839e90e..09337548de4 100644 --- a/lisp/international/textsec.el +++ b/lisp/international/textsec.el | |||
| @@ -245,8 +245,11 @@ or use certain other unusual mixtures of characters." | |||
| 245 | (lambda (char) | 245 | (lambda (char) |
| 246 | (when (eq (elt idna-mapping-table char) t) | 246 | (when (eq (elt idna-mapping-table char) t) |
| 247 | (throw 'found | 247 | (throw 'found |
| 248 | (format "Disallowed character: `%s' (#x%x, %s)" | 248 | (format "Disallowed character%s (#x%x, %s)" |
| 249 | (bidi-string-strip-control-characters (string char)) | 249 | (if (eq (get-char-code-property char 'general-category) |
| 250 | 'Cf) | ||
| 251 | "" | ||
| 252 | (concat ": " (string char))) | ||
| 250 | char | 253 | char |
| 251 | (get-char-code-property char 'name))))) | 254 | (get-char-code-property char 'name))))) |
| 252 | domain) | 255 | domain) |