split function of class String have not trimmed by default result in a bug for upload file failed