Re: Passing Uncontrolled Requests to PHP

2014-02-13 Thread Grant
k from the wiki should mitigate this risk? - Grant >> Does the wiki example mitigate the "Passing Uncontrolled Requests to PHP" >> risk? >> >> location ~ [^/]\.php(/|$) { >> fastcgi_split_path_info ^(.+?\.php)(/.*)$;

Re: Passing Uncontrolled Requests to PHP

2014-02-13 Thread António P . P . Almeida
ssing Uncontrolled Requests to PHP" > risk? > > location ~ [^/]\.php(/|$) { > fastcgi_split_path_info ^(.+?\.php)(/.*)$; > if (!-f $document_root$fastcgi_script_name) { > return 404; > } >

Passing Uncontrolled Requests to PHP

2014-02-13 Thread Grant
Does the wiki example mitigate the "Passing Uncontrolled Requests to PHP" risk? location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; if (!-f $document_root$fastcgi_script_name) {