mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Implement unicode map
This commit is contained in:
@@ -38,6 +38,7 @@ typedef struct msc_parm msc_parm;
|
||||
#include "msc_xml.h"
|
||||
#include "msc_geo.h"
|
||||
#include "msc_gsb.h"
|
||||
#include "msc_unicode.h"
|
||||
#include "re.h"
|
||||
|
||||
#include "ap_config.h"
|
||||
@@ -136,6 +137,10 @@ extern DSOLOCAL unsigned long int conn_read_state_limit;
|
||||
|
||||
extern DSOLOCAL unsigned long int conn_write_state_limit;
|
||||
|
||||
extern DSOLOCAL unsigned long int unicode_codepage;
|
||||
|
||||
extern DSOLOCAL int *unicode_map_table;
|
||||
|
||||
#define RESBODY_STATUS_NOT_READ 0 /* we were not configured to read the body */
|
||||
#define RESBODY_STATUS_ERROR 1 /* error occured while we were reading the body */
|
||||
#define RESBODY_STATUS_PARTIAL 2 /* partial body content available in the brigade */
|
||||
@@ -493,6 +498,9 @@ struct directory_config {
|
||||
/* Gsb Lookup */
|
||||
gsb_db *gsb;
|
||||
|
||||
/* Unicode map */
|
||||
unicode_map *u_map;
|
||||
|
||||
/* Cache */
|
||||
int cache_trans;
|
||||
int cache_trans_incremental;
|
||||
|
Reference in New Issue
Block a user