diff --git a/src/cgi.cpp b/src/cgi.cpp index 5cbf192..6494693 100644 --- a/src/cgi.cpp +++ b/src/cgi.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include namespace FediBlock::cgi @@ -112,7 +113,7 @@ vector get_tags() cgi.getElement("tags[]", tags_form); for (const auto &element : tags_form) { - const string_view tag{element.getValue()}; + const string tag{element.getValue()}; if (!tag.empty()) { tags_string.push_back(tolower(tag));