Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit f12d7af

Browse files
author
Olivier Gambier
committed
Enhance filtering on the driver interface
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
1 parent d4741e7 commit f12d7af

File tree

1 file changed

+2
-0
lines changed
  • depends/docker-registry-core/docker_registry/core

1 file changed

+2
-0
lines changed

depends/docker-registry-core/docker_registry/core/driver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def check(value):
4545
value = str(value)
4646
if value == '..':
4747
value = '%2E%2E'
48+
if value == '.':
49+
value = '%2E'
4850
return urllib.quote_plus(value)
4951

5052

0 commit comments

Comments
 (0)