Reject publishes to destination named ""
Correctly report blank destination errors, add a test
Refactor
merge bug26061 into stable