1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Merge pull request #1238 from noxiouz/fix_comment

Fix comment for PathRegexp
This commit is contained in:
Stephen Day 2015-12-08 10:41:16 -08:00
commit 807a80ff06

@ -87,7 +87,7 @@ type StorageDriver interface {
// PathRegexp is the regular expression which each file path must match. A
// file path is absolute, beginning with a slash and containing a positive
// number of path components separated by slashes, where each component is
// restricted to lowercase alphanumeric characters or a period, underscore, or
// restricted to alphanumeric characters or a period, underscore, or
// hyphen.
var PathRegexp = regexp.MustCompile(`^(/[A-Za-z0-9._-]+)+$`)