]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/unicode/charcnv.c
handling of '/' and ':' in volume name
[netatalk.git] / libatalk / unicode / charcnv.c
index cd2fe6e5959984f5ecc0604405eb7b498f30c926..785e47720f1d7ab2e74ce2be611c93164386fdb9 100644 (file)
@@ -866,6 +866,7 @@ static size_t push_charset_flags (charset_t to_set, charset_t cap_set, char* src
                 i_len = i;
                 break;
             case 0x002f: /* 0x002f = '/' */
+                if (option & CONV_ALLOW_SLASH) break;
                 escch = c;
                 j = i_len - i;
                 i_len = i;