File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ public function precommit( ) {
117117 }
118118
119119 public function commit ( $ p_repo , $ p_data ) {
120+ # Handle branch names with '+' character
121+ $ p_data = str_replace ('_plus_ ' , '+ ' , $ p_data );
122+
120123 # The -d option from curl requires you to encode your own data.
121124 # Once it reaches here it is decoded. Hence we split by a space
122125 # were as the curl command uses a '+' character instead.
Original file line number Diff line number Diff line change 44# Licensed under the MIT license
55
66read LINE
7+
8+ # Handle branch names with '+' character
9+ LINE=` echo $LINE | sed -e ' s/+/_plus_/g' `
10+
711LINE=` echo $LINE | sed -e ' s/ /+/g' `
812
913URL=" http://localhost/mantisbt/plugin.php?page=Source/checkin"
You can’t perform that action at this time.
0 commit comments