1 // Copyright (c) 2015-2022 The Limenka developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef LIMENKA_COMMON_URL_H
6 #define LIMENKA_COMMON_URL_H
7
8 #include <string>
9 #include <string_view>
10
11 /* Decode a URL.
12 *
13 * Notably this implementation does not decode a '+' to a ' '.
14 */
15 std::string UrlDecode(std::string_view url_encoded);
16
17 #endif // LIMENKA_COMMON_URL_H
18