2 #define T_ESCAPE_SHELL_CMD (1)
3 #define T_ESCAPE_PATH_SEGMENT (2)
4 #define T_OS_ESCAPE_PATH (4)
5 #define T_ESCAPE_ECHO (8)
6 #define T_ESCAPE_URLENCODED (16)
7 #define T_ESCAPE_XML (32)
8 #define T_ESCAPE_LDAP_DN (64)
9 #define T_ESCAPE_LDAP_FILTER (128)
11 static const unsigned char test_char_table[256] = {
12 224,222,222,222,222,222,222,222,222,222,223,222,222,222,222,222,222,222,222,222,
13 222,222,222,222,222,222,222,222,222,222,222,222,6,16,127,22,17,22,49,17,
14 145,145,129,80,80,0,0,18,0,0,0,0,0,0,0,0,0,0,16,87,
15 119,16,119,23,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
16 0,0,0,0,0,0,0,0,0,0,0,23,223,23,23,0,23,0,0,0,
17 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
18 0,0,0,23,23,23,17,222,222,222,222,222,222,222,222,222,222,222,222,222,
19 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,
20 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,
21 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,
22 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,
23 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,
24 222,222,222,222,222,222,222,222,222,222,222,222,222,222,222,222