We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62c4ef commit 6b5a3e4Copy full SHA for 6b5a3e4
app/components/badge-circle-ci.js
@@ -5,7 +5,7 @@ export default Ember.Component.extend({
5
classNames: ['badge'],
6
repository: Ember.computed.alias('badge.attributes.repository'),
7
branch: Ember.computed('badge.attributes.branch', function() {
8
- return this.get('badge.attributes.branch') || 'master';
+ return encodeURIComponent(this.get('badge.attributes.branch')) || 'master';
9
}),
10
text: Ember.computed('branch', function() {
11
return `Circle CI build status for the ${ this.get('branch') } branch`;
0 commit comments