aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index 134fb9a..26838f7 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -130,7 +130,9 @@ handle (request& rq, response& rs)
s << DIV(ID="heading")
<< H1
- << A(HREF=root / path (mime_url_encode (name))) << name << ~A
+ << A(HREF=root / path (mime_url_encode (name, false)))
+ << name
+ << ~A
<< "/"
<< A(HREF=url ()) << sver << ~A
<< ~H1
@@ -255,7 +257,7 @@ handle (request& rq, response& rs)
const auto& dcon (d.constraint);
const string& dname (p->id.name);
- string ename (mime_url_encode (dname));
+ string ename (mime_url_encode (dname, false));
if (r->url)
{