Implement percent url encoder and decoder
[libi2ncommon] / src / restricted_html.hpp
CommitLineData
09ca2cbf
JR
1/*
2The software in this package is distributed under the GNU General
3Public License version 2 (with a special exception described below).
4
5A copy of GNU General Public License (GPL) is included in this distribution,
6in the file COPYING.GPL.
7
8As a special exception, if other files instantiate templates or use macros
9or inline functions from this file, or you compile this file and link it
10with other works to produce a work based on this file, this file
11does not by itself cause the resulting work to be covered
12by the GNU General Public License.
13
14However the source code for this file must still be made available
15in accordance with section (3) of the GNU General Public License.
16
17This exception does not invalidate any other reasons why a work based
18on this file might be covered by the GNU General Public License.
19*/
20/** @file
21 * @brief restricts html code to an allowed group of tags.
22 *
23 * @copyright © Copyright 2017 Intra2net AG
24 *
25 */
26
27#ifndef __RESTRICTED_HTML_HPP
28#define __RESTRICTED_HTML_HPP
29
30#include <string>
31
32namespace I2n
33{
34
35
a93685ca
JR
36 std::string decode_url(std::string s);
37
38 std::string encode_url(std::string s);
39
09ca2cbf
JR
40} // eo namespace I2n
41
42#endif