Really check the publishname regular expression. See #4338