diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-01-15 23:17:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-01-15 23:17:30 +0300 |
commit | 2862f91f6016bd07fd9adc0a0f518258a32aa274 (patch) | |
tree | 79c9e69f8e5e60955ac0c3f1962d88307d0a6220 /bpkg/auth.cxx | |
parent | 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (diff) |
Adapt to adding type prefix for repository canonical name
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r-- | bpkg/auth.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index da4d0b5..82e17ec 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -699,7 +699,10 @@ namespace bpkg }; pair<string, string> c (split (cert.name)); - pair<string, string> r (split (rl.canonical_name ())); + + // Strip 'bpkg:' prefix. + // + pair<string, string> r (split (rl.canonical_name ().substr (5))); // Match the repository canonical name leading part. // |