NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/48397: Use rfc2152 for citrus_utf7.c



>Number:         48397
>Category:       lib
>Synopsis:       Use rfc2152 for citrus_utf7.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 22 07:20:00 +0000 2013
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Add "´" to char direct and "*" to char option as in rfc2152 fot utf7.
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 citrus_utf7.c
--- lib/libc/citrus/modules/citrus_utf7.c       28 May 2013 16:57:56 -0000      
1.6
+++ lib/libc/citrus/modules/citrus_utf7.c       22 Nov 2013 06:19:44 -0000
@@ -141,9 +141,9 @@ static const char base64[] =
 static const char direct[] =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        "abcdefghijklmnopqrstuvwxyz"
-       "0123456789(),-./:?";
+       "0123456789'(),-./:?";
 
-static const char option[] = "!\"#$%&';<=>@[]^_`{|}";
+static const char option[] = "!\"#$%&*;<=>@[]^_`{|}";
 static const char spaces[] = " \t\r\n";
 
 #define        BASE64_BIT      6



Home | Main Index | Thread Index | Old Index