Fix upload::canonicalize_name()
regex subst
#741
Merged
upload::canonicalize_name()
regex subst
#741