Fix for defect #3833, now always encoding the name parameter.