update(engine): port decode_uri in falco engine

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra
2023-11-14 16:36:12 +00:00
committed by poiana
parent 22cc2e5add
commit 8bf40cdf88
3 changed files with 80 additions and 2 deletions

View File

@@ -52,6 +52,8 @@ void readfile(const std::string& filename, std::string& data);
uint32_t hardware_concurrency();
std::string decode_uri(const std::string& str, bool plus_as_space);
namespace network
{
static const std::string UNIX_SCHEME("unix://");