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

« back to all changes in this revision

Viewing changes to debian/modules/nginx-lua/t/024-access/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:
578
578
--- response_body
579
579
a=3&b=4
580
580
 
 
581
 
 
582
 
 
583
=== TEST 22: I/O in named location
 
584
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
 
585
--- config
 
586
    location /t {
 
587
        echo_exec @named;
 
588
    }
 
589
 
 
590
    location @named {
 
591
        access_by_lua '
 
592
            ngx.location.capture("/hello")
 
593
        ';
 
594
        echo done;
 
595
    }
 
596
 
 
597
    location /hello {
 
598
        echo hello;
 
599
    }
 
600
--- request
 
601
    GET /t
 
602
--- response_body
 
603
done
 
604