Bug 136064 - www/nginx uploadprogress module incorrect X-Progress-ID argument parsing (patch)
www/nginx uploadprogress module incorrect X-Progress-ID argument parsing (patch)
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Sergey A. Osokin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-26 10:20 UTC by ai
Modified: 2009-07-02 10:18 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (451 bytes, patch)
2009-06-26 10:20 UTC, ai
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ai 2009-06-26 10:20:01 UTC
nginx 0.7.59. 
Requests like "GET /progress?X-Progress-ID=09e409d35e1b9dd1b5a2982709ac79eb&JsHttpRequest=12460060723877-script HTTP/1.1" cannot process properly, because module parse tracking_id as '09e409d35e1b9dd1b5a2982709ac79eb&JsHttpRequest=12460060723877-script' and instantly return "new Object({ 'state' : 'starting' })"

Fix: Patch below fix this problem:
How-To-Repeat:     Any trivial config from uploadprogress examples and request progress with X-Progress-ID and some args together
Comment 1 Mark Linimon freebsd_committer 2009-06-26 11:45:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

Fix synopsis and assign.
Comment 2 dfilter freebsd_committer 2009-07-02 10:00:30 UTC
osa         2009-07-02 09:00:16 UTC

  FreeBSD ports repository

  Modified files:
    www/nginx            Makefile 
    www/nginx-devel      Makefile 
  Added files:
    www/nginx/files      
                         extra-patch-ngx_http_uploadprogress_module.c 
    www/nginx-devel/files 
                          extra-patch-ngx_http_uploadprogress_module.c 
  Log:
  Fix X-Progress-ID argument parsing in third-party uploadprogress module.
  Do not bump PORTREVISIONs.
  
  PR:     ports/136064
  
  Revision  Changes    Path
  1.221     +4 -0      ports/www/nginx-devel/Makefile
  1.1       +14 -0     ports/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c (new)
  1.154     +4 -0      ports/www/nginx/Makefile
  1.1       +14 -0     ports/www/nginx/files/extra-patch-ngx_http_uploadprogress_module.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sergey A. Osokin freebsd_committer 2009-07-02 10:18:13 UTC
State Changed
From-To: open->closed

Committed, thanks!