mirror of
https://github.com/distribution/distribution.git
synced 2025-10-22 11:51:24 +00:00
This fix is based on: https://github.com/docker/docker/pull/30746#discussion_r99650885 The goal is to reuse the `DomainRegexp` in docker to check for `<host>:<port>` pattern. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>