Disallow dots in repository names to fix reflected text "attack"
Fixes https://jira.coreos.com/browse/QS-125
This commit is contained in:
parent
b29e8202e5
commit
ede3a81c68
2 changed files with 2 additions and 2 deletions
|
@ -2241,7 +2241,7 @@ class TestGetRepository(ApiTestCase):
|
|||
def test_getrepo_badnames(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
|
||||
bad_names = ['logs', 'build', 'tokens', 'foo.bar', 'foo-bar', 'foo_bar']
|
||||
bad_names = ['logs', 'build', 'tokens', 'foo-bar', 'foo_bar']
|
||||
|
||||
# For each bad name, create the repo.
|
||||
for bad_name in bad_names:
|
||||
|
|
Reference in a new issue