tlx
parse_uri_form_data.hpp File Reference
#include <cstring>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 tlx
 

Functions

static std::string parse_uri_form_data_decode (const char *str, const char *end=nullptr)
 Helper function to decode %20 and + in urlencoded form data like "query=string+with+spaces&submit=yes%21&". More...
 
static void parse_uri_form_data (const char *query_string, std::vector< std::string > *key, std::vector< std::string > *value)
 Parse a urlencoded form data like "query=string+with+spaces&submit=yes%21&" into a list of keys and values. More...
 
static void parse_uri_form_data (const std::string &query_string, std::vector< std::string > *key, std::vector< std::string > *value)
 Parse a urlencoded form data like "query=string+with+spaces&submit=yes%21&" into a list of keys and values. More...