summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2012-03-06 15:57:14 +0000
committerrobert <robert@openbsd.org>2012-03-06 15:57:14 +0000
commit33b393309049a9e0bab6cf96e2b00f3a31cc8a42 (patch)
treea57aa00aed05d62c793f74f21f040371b076efd9 /usr.sbin/nginx/src/http/ngx_http_request.c
parenttweak previous; (diff)
downloadwireguard-openbsd-33b393309049a9e0bab6cf96e2b00f3a31cc8a42.tar.xz
wireguard-openbsd-33b393309049a9e0bab6cf96e2b00f3a31cc8a42.zip
update to 1.0.13
Diffstat (limited to 'usr.sbin/nginx/src/http/ngx_http_request.c')
-rw-r--r--usr.sbin/nginx/src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/nginx/src/http/ngx_http_request.c b/usr.sbin/nginx/src/http/ngx_http_request.c
index 13cabbad5c5..04c4165dedd 100644
--- a/usr.sbin/nginx/src/http/ngx_http_request.c
+++ b/usr.sbin/nginx/src/http/ngx_http_request.c
@@ -2898,6 +2898,10 @@ ngx_http_post_action(ngx_http_request_t *r)
return NGX_DECLINED;
}
+ if (r->post_action && r->uri_changes == 0) {
+ return NGX_DECLINED;
+ }
+
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"post action: \"%V\"", &clcf->post_action);