Message243417
Currently the maximal length of local part is
14+1+len(str(2**16))+1+len(str(10**5-1)) == 26
With the patch it will be
len(str(2**31*100))+1+len(str(2**16))+1+len(str(2**64)) = 39
If encode all three numbers with hexadecimal, it will be
len('%x'%(2**31*100))+1+len('%x'%(2**16))+1+len('%x'%(2**64)) = 34
If encode their with base32:
math.ceil((31+math.log(100)/math.log(2))/5)+1+math.ceil(16/5)+1+math.ceil(64/5) = 27
Using base64 or base85 can be not safe, because message ID can be used as file name in case-insensitive file system. |
|
Date |
User |
Action |
Args |
2015-05-17 17:46:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mwh, barry, ggenellina, pitrou, allenap, r.david.murray, BreamoreBoy, varun |
2015-05-17 17:46:32 | serhiy.storchaka | set | messageid: <1431884792.22.0.749023152251.issue6598@psf.upfronthosting.co.za> |
2015-05-17 17:46:32 | serhiy.storchaka | link | issue6598 messages |
2015-05-17 17:46:32 | serhiy.storchaka | create | |
|