Instead of sending DB IDs, send "internal IDs" which are DB IDs hashed. This way, we can still calculate the ancestors without hitting the DB further, but without leaking the size of the images table
This commit is contained in:
parent
74c1662f54
commit
9621566d31
7 changed files with 59 additions and 36 deletions
|
@ -1436,7 +1436,7 @@ class TestListAndGetImage(ApiTestCase):
|
|||
assert 'comment' in image
|
||||
assert 'command' in image
|
||||
assert 'ancestors' in image
|
||||
assert 'dbid' in image
|
||||
assert 'internal_id' in image
|
||||
assert 'size' in image
|
||||
|
||||
ijson = self.getJsonResponse(RepositoryImage,
|
||||
|
|
Reference in a new issue