mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 15:07:10 +03:00
Added additional file info definitions introduced in APR 0.9.5 so that we will work with older APRs (IBM HTTP Server v6).
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,6 +1,9 @@
|
|||||||
28 Jan 2010 - 2.5.12
|
03 Feb 2010 - 2.5.12
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
* Added additional file info definitions introduced in APR 0.9.5 so that
|
||||||
|
build will work with older APRs (IBM HTTP Server v6).
|
||||||
|
|
||||||
* Added SecUploadFileLimit to limit the number of uploaded file parts that
|
* Added SecUploadFileLimit to limit the number of uploaded file parts that
|
||||||
will be processed in a multipart POST. The default is 100.
|
will be processed in a multipart POST. The default is 100.
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,13 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <apr_file_info.h>
|
#include <apr_file_info.h>
|
||||||
|
|
||||||
|
#ifndef APR_WSTICKY
|
||||||
|
/* Add extra flags added to APR in 0.9.5 */
|
||||||
|
#define APR_USETID 0x8000 /**< Set user id */
|
||||||
|
#define APR_GSETID 0x4000 /**< Set group id */
|
||||||
|
#define APR_WSTICKY 0x2000 /**< Sticky bit */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "modsecurity.h"
|
#include "modsecurity.h"
|
||||||
|
|
||||||
int DSOLOCAL normalise_path_inplace(unsigned char *input, int len, int win, int *changed);
|
int DSOLOCAL normalise_path_inplace(unsigned char *input, int len, int win, int *changed);
|
||||||
|
|||||||
Reference in New Issue
Block a user