Show
Ignore:
Timestamp:
05/05/10 13:27:39 (2 years ago)
Author:
Menno Smits <menno@…>
Branch:
default
Message:

#21: High ascii bytes in folder names can break folder handling

Don't allow characters in str based folder names that can't be
converted to unicode without knowing the encoding. The idea is that
IMAPClient's user should convert to unicode themselves.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • livetest.py

    r144 r147  
    6262def test_list_folders(client): 
    6363    clear_folders(client) 
    64     some_folders = ['simple', r'foo\bar', r'test"folder"'] 
     64    some_folders = ['simple', r'foo\bar', r'test"folder"', u'L\xffR'] 
    6565    for name in some_folders: 
    6666        client.create_folder(name)