cn-uofbasel / PiCN

PiCN: Python ICN and NFN by University of Basel
BSD 3-Clause "New" or "Revised" License
18 stars 14 forks source link

decoding of name crashes with non-ascii characters #27

Closed phoeft670 closed 6 years ago

phoeft670 commented 6 years ago

def components_to_string in Name.py uses decode(ascii). Decoding non-ascii chars leads to a UnicodeDecodeError which isn't caught.

cmarxer commented 6 years ago

Note: PiCN.Packets.Name.py, line 39

cmarxer commented 6 years ago

fixed in 891cdbc8e029aaf44e2d2efd8ed15227fbcacf70