Merge pull request #1565 from coreos-inc/k8s-robot
Globally replace illegal chars in escaped username
This commit is contained in:
commit
875fbdddc1
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ angular.module('quay').directive('credentialsDialog', function () {
|
|||
};
|
||||
|
||||
$scope.getEscapedUsername = function(credentials) {
|
||||
return credentials.username.replace(/[^a-zA-Z0-9]/, '-');
|
||||
return credentials.username.replace(/[^a-zA-Z0-9]/g, '-');
|
||||
};
|
||||
|
||||
$scope.getSuffixedFilename = function(credentials, suffix) {
|
||||
|
|
Reference in a new issue