17c22a1b9c this wasn't added when I added the test cases..
e6b5299db6 support a graph of mappings instead of just one layer... This isn't the most effecient for now as we generate all the possible mappings, but it's assumed that the number of mappings will be low for now...
ed59121c5d Bramify this... work around the stupidity that is BEP-52 in most cases, keys are us-ascii, but BEP-52 allows some keys to be binary data.. It does appear that it only applies to dictionaries that are under 'piece layer', so pass down the parent key, and don't do encoding for the dictionary that is under it. It also had a bug where if a dictionary key had code points >127, it'd encode the values incorrectly, because it'd take the length of the string and not the encoded string..
f523886240 handle empty keys which apparently happen in v2 torrents
- Compare 4 commits »