diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb
index 6bbf7235ed9f3169b0a0e868a6a8531f5b5beb5e..3d112b0088e589541a316ab35b9ec985fbfdb267 100644
--- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb
+++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb
@@ -193,7 +193,7 @@ module Homebrew
       sourcefile_path: cask.sourcefile_path,
       old_contents:    old_contents,
       origin_branch:   origin_branch,
-      branch_name:     "bump-#{cask.token}-#{new_version}",
+      branch_name:     "bump-#{cask.token}-#{new_version.tr(",:", "-")}",
       commit_message:  "Update #{cask.token} from #{old_version} to #{new_version}",
       previous_branch: previous_branch,
       tap:             cask.tap,