Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit498b9b2

Browse files
spectrumjadeFelipe Zimmerle
authored and
Felipe Zimmerle
committed
Don't reject a large request with ProcessPartial set
1 parent063dd64 commit498b9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/mod_security2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ static int hook_request_early(request_rec *r) {
779779
if (msr->request_content_length>msr->txcfg->reqbody_limit) {
780780
msr_log(msr,1,"Request body (Content-Length) is larger than the "
781781
"configured limit (%ld).",msr->txcfg->reqbody_limit);
782-
if(msr->txcfg->is_enabled!=MODSEC_DETECTION_ONLY)
782+
if(msr->txcfg->is_enabled!=MODSEC_DETECTION_ONLY&&msr->txcfg->if_limit_action!=REQUEST_BODY_LIMIT_ACTION_PARTIAL)
783783
returnHTTP_REQUEST_ENTITY_TOO_LARGE;
784784
}
785785
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp