X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Futf8.c;h=e8690fc39da290006dbd5f7448780ebc88181d67;hb=4c57a40e227ea6585cf1dd4bef37fbb15e1f7e35;hp=be5bcb0788176a22bc884502fda86a9ad2a5a27d;hpb=9427e87923288dfe6fdf80011f77bf4a135898ac;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/utf8.c b/src/src/utf8.c index be5bcb078..e8690fc39 100644 --- a/src/src/utf8.c +++ b/src/src/utf8.c @@ -52,6 +52,10 @@ uschar * s1, * s; int rc; #ifdef SUPPORT_I18N_2008 +/* Avoid lowercasing plain-ascii domains */ +if (!string_is_utf8(utf8)) + return string_copy(utf8); + /* Only lowercase is accepted by the library call. A pity since we lose any mixed-case annotation. This does not really matter for a domain. */ {