~ubuntu-branches/ubuntu/trusty/nginx/trusty-updates

« back to all changes in this revision

Viewing changes to debian/modules/nginx-lua/t/023-rewrite/subrequest.t

  • Committer: Package Import Robot
  • Author(s): Cyril Lavier, Cyril Lavier
  • Date: 2012-06-27 13:52:03 UTC
  • mfrom: (4.2.51 sid)
  • Revision ID: package-import@ubuntu.com-20120627135203-82rzqkajfpo1m77u
Tags: 1.2.1-2
[Cyril Lavier]
* Urgency set to medium, security bug in naxsi module, fix via upstream.
* debian/modules/naxsi:
  + Updated naxsi module to version 0.46-1 fixing the following security
    issue : potential file disclosure in nx_extract.

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
copas: capture /memc_set
619
619
copss: status 200
620
620
 
 
621
 
 
622
 
 
623
=== TEST 23: I/O in named location
 
624
the nginx core requires the patch https://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.0.15-reset_wev_handler_in_named_locations.patch
 
625
--- config
 
626
    location /t {
 
627
        echo_exec @named;
 
628
    }
 
629
 
 
630
    location @named {
 
631
        rewrite_by_lua '
 
632
            ngx.location.capture("/hello")
 
633
        ';
 
634
        echo done;
 
635
    }
 
636
 
 
637
    location /hello {
 
638
        echo hello;
 
639
    }
 
640
--- request
 
641
    GET /t
 
642
--- response_body
 
643
done
 
644