summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2009-07-02 09:00:16 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2009-07-02 09:00:16 +0000
commit53c03d3658d40f1288d5e3f2189171ce38e1c08c (patch)
treeda68567a7e0a4e54debb51261333856a2e316502 /www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
parent- Update to 3.326 (diff)
Fix X-Progress-ID argument parsing in third-party uploadprogress module.
Do not bump PORTREVISIONs. PR: ports/136064
Diffstat (limited to 'www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c b/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
new file mode 100644
index 000000000000..abaffde0d94c
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
@@ -0,0 +1,14 @@
+--- ../nginx_uploadprogress_module/ngx_http_uploadprogress_module.c.orig 2009-06-26 15:32:01.000000000 +0400
++++ ../nginx_uploadprogress_module/ngx_http_uploadprogress_module.c 2009-06-26 15:38:30.000000000 +0400
+@@ -187,8 +187,9 @@
+ if (i) {
+ start_p = p += 14;
+ while (p < r->args.data + r->args.len) {
+- if (*p++ != '&') {
+- continue;
++ if (*p++ == '&') {
++ p--;
++ break;
+ }
+ }
+