UrlDecode

Decode a percent-encoded URL string.

Synopsis

Declared in <common/url.h>

std::string
UrlDecode(std::string_view url_encoded);

Description

Notably this implementation does not decode a '+' to a ' '.

Return Value

The decoded string.

Parameters

NameDescription
url_encodedThe percent-encoded input string.