diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-21 18:06:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-21 18:06:39 +0300 |
commit | 01b11f060e656c00f875d05a8d4b283f524b0358 (patch) | |
tree | d204e4de36bf5eb7213c2ef140bef467cbf6873e /bpkg/manifest-utility.hxx | |
parent | c07da0ae583536b39c7627cd665c93b94df7aed0 (diff) |
Add package name validation to parse_package_name() function
Diffstat (limited to 'bpkg/manifest-utility.hxx')
-rw-r--r-- | bpkg/manifest-utility.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index 5e42b84..c22746b 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -31,7 +31,8 @@ namespace bpkg package_scheme parse_package_scheme (const char*&); - // Extract name and version components from <name>[/<version>]. + // Extract and validate the package name and version components from + // <name>[/<version>]. // string parse_package_name (const char*); |