diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-25 08:37:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-28 14:42:17 +0300 |
commit | bfec6fffb4acd9673ecf066a0e4f1b4baf2dd831 (patch) | |
tree | ca85d9db6ddeeaf1b89c488b9ed629511003566a /mod/page.cxx | |
parent | 21d9f67600a53af44d0f7365074de5312a829193 (diff) |
Make use of butl url encode() and decode() functions
Diffstat (limited to 'mod/page.cxx')
-rw-r--r-- | mod/page.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/page.cxx b/mod/page.cxx index a7ec087..566406e 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -188,7 +188,7 @@ namespace brep // Propagate search criteria to the package details page. // - << root_ / path (mime_url_encode (name_)) << query_param_ + << root_ / path (mime_url_encode (name_, false)) << query_param_ << ~HREF << name_ @@ -218,7 +218,7 @@ namespace brep else { assert (root_ != nullptr); - s << A(HREF=*root_ / dir_path (mime_url_encode (*package_)) / + s << A(HREF=*root_ / dir_path (mime_url_encode (*package_, false)) / path (version_)) << version_; @@ -393,7 +393,7 @@ namespace brep ? p->internal_repository.load () : p->other_repositories[0].load ()); - auto en (mime_url_encode (n)); + auto en (mime_url_encode (n, false)); if (r->url) s << A(HREF=*r->url + en) << n << ~A; @@ -542,7 +542,7 @@ namespace brep << SPAN(CLASS="value") << A << HREF - << root_ << "?about#" << mime_url_encode (html_id (name_)) + << root_ << "?about#" << mime_url_encode (html_id (name_), false) << ~HREF << name_ << ~A |