aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-14 22:19:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-15 20:40:40 +0300
commit2667fad8bf6e7ef6ef1894ab49a3bdc5cc858607 (patch)
treef3f6650da4c3a4b3b8a5c06343c82646be84507f /mod/mod-package-version-details.cxx
parentd622f34a8c6ad0e71618f75a02787589b21d795c (diff)
Add support for repository location compound schemes (git+https, etc)
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index f9d346e..bafe8f7 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -208,7 +208,7 @@ handle (request& rq, response& rs)
{
assert (pkg->location);
- s << TR_DOWNLOAD (rl.string () + "/" + pkg->location->string ());
+ s << TR_DOWNLOAD (rl.url ().string () + "/" + pkg->location->string ());
}
if (pkg->fragment)