aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-11 16:04:02 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-11 16:04:52 +0200
commitd1920de838b17847b2e8a1520af0d82e670d5558 (patch)
tree520220da38f258f788a42ee0b13fac74d980acbc /include
parent2be5a938f906fa1ec95b424a0efd5fab3a1acdc7 (diff)
Parse content disposition better (when it contains encoding)
Diffstat (limited to 'include')
-rw-r--r--include/NetUtils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/NetUtils.hpp b/include/NetUtils.hpp
index bacafc7..a142884 100644
--- a/include/NetUtils.hpp
+++ b/include/NetUtils.hpp
@@ -12,6 +12,7 @@ namespace QuickMedia {
void html_escape_sequences(std::string &str);
void html_unescape_sequences(std::string &str);
std::string url_param_encode(const std::string &param);
+ std::string url_param_decode(const std::string &param);
std::vector<Range> extract_urls(const std::string &str);
std::vector<std::string> ranges_get_strings(const std::string &str, const std::vector<Range> &ranges);
void convert_utf8_to_utf32_ranges(const std::string &str, std::vector<Range> &ranges);