Filtering of ':' character in random code location
In transaction.rs
, function create_node
and function link_node
, the name of the file is checked for ':' and an error is returned if it is present.
This is not an appropriate place to enforce such a rule. If there is going to be a policy of rejecting certain characters such as ':', it should be done at the earliest opportunity.
As well, there should be a function e.g. validate_name
, that checks for illegal filenames, as it's easy to imagine other rules we might want to enforce, or that we might want to remove the "no ':'" rule.