Prevent access to app_dev.php through proxy
Prevent access to app_dev.php through proxy

Proxies are sometimes on the same machine as the webserver, so they will gain
access to app_dev.php, as they have a localhost IP.

That makes app_dev.php accessible by default in such setups.

This commit disallows access to app_dev.php if proxy headers are present.

den2134/itdTest,AlexeyKupershtokh/symfony-standard,rainbowcode/spanvoice-standard,xiaobudongzhang/symfony-standard,vincentaubert/symfony-standard,merk/comment-server,unewochialat/symfony-standard,GulDmitry/music-diff,delorenj/elleol_legacy,flyboarder/AirOS,SymfonyId/Skeleton,NoUseFreak/StandardEdition,kmelia/fresh-symfony,bocharsky-bw/symfony-standard,liip-forks/symfony-standard,papaavola/symfony-standard,ucsf-ckm/symfony-emberjs-edition,egeloen/symfony-standard,elcodi/symfonycon-demo,amalv/cupon,wachterjohannes/sulu-standard,JMSBot/CSBill,Cartesia/01,shadowtje1990/symfony_todo_api,b00giZm/symfony-boilerplate-app,mykehsd/jobeet,buddhika-jay/symfony-sonata-distribution,cordoval/symfony-gae,cordoval/spike-edition,oustaban/eurotax,umpirsky/symfony-standard,havvg/symfony-standard-propel,Clastic/StandardEdition,webignition/simplytestable.com,sulu-io/sulu-standard,skafandri/blog,yohang/non-obstrusive-form-sf2,fahadonline/sulu,Tobion/symfony-standard,mhlavac/symfony-skeleton,bshaffer/symfony-standard,mayeco/symfony-standard-pagodabox,amalv/cupon,flyboarder/AirOS,glavweb/symfony-standard,Musak/firstsymfony2project,phiamo/symfony-bootstrap,sulu-io/sulu-standard,kmelia/fresh-symfony,SymfonyId/api-platform,taylankasap/symfony-standard,Thiktak/Jordo,lukaszgi/operowo,ucay/Skeleton,oustaban/eurotax,merk/comment-server,webignition/worker.simplytestable.com,webignition/simplytestable.com,debruyne0/symfony,damedia/culture.ru,uttam-vi/pardawala,shcloudservices/agiletourreg,pocit/ExpoApiBundle,jbdelhommeau/symfony-standard,propelorm/symfony-propel-edition,jmather/pagoda-symfony-sonata-distribution,WolfMicrosystems/symfony-wms,javiereguiluz/symfony-standard,Chill-project/Standard,achrafYne/restaurants-guide,mukulu/hris,OskarStark/symfony-standard,MatthieuCutin/ligue-squash,ctrl-f5/symfony-standard,NoUseFreak/StandardEdition,webignition/worker.simplytestable.com,shadowtje1990/symfony_todo_api,buddhika-jay/symfony-sonata-distribution,csarrazi/AppKernelGenerator,hrisproject/hris,yohang/non-obstrusive-form-sf2,tdd-php/literatura,webignition/simplytestable.com,mattvaadi/hris,Clastic/StandardEdition,gnugat-legacy/symfony-empty,yohang/non-obstrusive-form-sf2,symfony-cmf/standard-edition,bionic-university/alexander-pobereznichenko,HasClass0/standard-edition,theodo/theodo-kata,fcerezo/famaluz,b00giZm/symfony-boilerplate-app,symfony2-od-podstaw/26-01-sf21,gencer/symfony-standard,GulDmitry/music-diff,baukaman/NeedYou,ewgRa/symfony-standard,phospr/symfony-starter,myroshnychenko/SymfonyCMF,OskarStark/symfony-standard,lyrixx/symfony-standard,oustaban/eurotax,cordoval/symfony-gae,IgorTimoshenko/symfony-standard-requirejs,phiamo/symfony-bootstrap,aprezcuba24/symfony-standard,yelmontaser/symfony-standard,Chill-project/Standard,fahadonline/sulu,twisted-socket/stage-plots,continuousphp/symfony-skeleton,foopro/symfony-screenfony,Cartesia/01,dziamid/lunch-time-composer,ovelasquez/ussi,VolCh/test-rethis.ru,Soullivaneuh/symfony-standard,0mars/symfony-standard-issue-13291,baukaman/NeedYou,AlexeyKupershtokh/symfony-standard,aerrasti/iemedebe,meonkeys/symfony2-dual-auth,webignition/app.simplytestable.com,irro/MastoAlliance,mukulu/hris,freecastle/Symfony2_Boilerplate,webignition/app.simplytestable.com,IgorTimoshenko/symfony-standard-requirejs,mqmtech/show-app,JMSBot/CSBill,damedia/culture.ru,cordoval/symfony-bootstrap,alihalabyah/symfony-rest-edition,mykehsd/jobeet,Rvanlaak/symfony-standard,outlandishideas/symfony-standard,proteichik/testApp,lmaslowski/sf2,symfony/symfony-standard,fcerezo/famaluz,spolischook/standard-edition,flevour/symfony-issue-3889,umpirsky/symfony-standard,mattvaadi/hris,rommsen/plesynd,tederkkila/snapshot_server,fduch/symfony-standard-workflow,chebetos/SymfonyTest,freecastle/Symfony2_Boilerplate,ybutb/videotask,aerrasti/iemedebe,simonjcarr/symfony_rest,symfony2-od-podstaw/knp-menu-example,GulDmitry/music-diff,singingstars/flydb,continuousphp/symfony-skeleton,Koc/symfony-standard,tdd-php/literatura,mattvaadi/hris,makasim/LiipImagineBundleSandbox,phiamo/symfony-bootstrap,yhoiseth/notelite.net,vincentchalamon/phpunit-bridge,apnet/symfony-standard-edition,ovelasquez/ussi,tarasinio/weather-remainder.com,ctrl-f5/symfony-standard,hrisproject/hris,VolCh/test-rethis.ru,irro/MastoAlliance,tdd-php/angaze,HumanBooster/Symfony,gencer/symfony-standard,joferzs/firewall,Tobion/symfony-standard,cordoval/demo-symfony2-argentina,JMSBot/CSBill,tarasinio/weather-remainder.com,chebetos/SymfonyTest,beyondkeysystem/psc-symfony-angularjs,wachterjohannes/sulu-standard,markitosgv/DevOps,zanderbaldwin/symfony-layers,adrienbrault/symfony-silex-edition,b00giZm/symfony-boilerplate-app,rommsen/plesynd,drufony/drufony,platformsh/platformsh-example-symfony,tiagobrito/ds1.sfdaypt14,chrisciampoli/cleats,flevour/symfony-issue-3889,lukaszgi/operowo,Musak/firstsymfony2project,InkApplications/barenaked-symfony,cordoval/symfony-gae,tederkkila/snapshot_server,spolischook/standard-edition,cordoval/symfony-bootstrap,fabpot/symfony-standard,foopro/symfony-screenfony,Thiktak/Jordo,oustaban/eurotax,vincentchalamon/phpunit-bridge,gnugat/symfony-empty,dkarvounaris/symfony-standard,JMSBot/CSBill,lyrixx/symfony-standard,wachterjohannes/sulu-standard,symfony/symfony-standard,dunglas/symfony-standard,Knouki/Jobeet-Symfony,chebetos/SymfonyTest,continuousphp/symfony-skeleton,phiamo/symfony-bootstrap,webignition/worker.simplytestable.com,bamarni/symfony-docker,buddhikajay/symfony-sonata-distribution,isidromerayo/symfony2-jobeet,formapro-forks/api-basic,jbdelhommeau/symfony-standard,bshaffer/symfony-standard,ericclemmons/ericclemmons.github.io,ybutb/videotask,peterkokot/symfony-standard,Soullivaneuh/symfony-standard,tiagobrito/ds1.sfdaypt14,SymfonyId/Skeleton,black-project/black-standard,basdek/SymfonyFireWall,dantleech/symfony-doctrine-phpcr-edition,reidel/hobby-1,Clastic/StandardEdition,sulu-io/sulu-standard,xiaobudongzhang/symfony-standard,trsteel88/symfony-standard,martinmike2/website-study,yelmontaser/symfony-standard,platformsh/platformsh-example-symfony,phiamo/symfony-bootstrap,npotier/sf2Showcase,kucherevskyA/kucherevskiy-test-task,HasClass0/standard-edition,shamcode/symfony-testing,mkrauser/symfony-dump-demo,1ed/symfony-standard,tarasinio/weather-remainder.com,fcerezo/famaluz,shamcode/symfony-testing,formapro-forks/api-basic,mqmtech/show-app,Baachi/symfony-standard,zanderbaldwin/symfony-layers,shcloudservices/agiletourreg,benja-M-1/rogercms-sandbox,xabbuh/symfony-standard,VolCh/test-rethis.ru,symfony-cmf/standard-edition,the-software-factory/superhero-api,glavweb/symfony-standard,joferzs/firewall,fduch/symfony-standard-workflow,fahadonline/sulu,ucay/Skeleton,pjcdawkins/tmp-symfony-demo,merk/Citadel,damedia/culture.ru,ucay/Skeleton,Baachi/symfony-standard,hrisproject/hris,rajkamalganeshvivid/symfony-standard,Spea/symfony-standard,javiereguiluz/symfony-standard,lanthaler/sfHydraDemoApp,tdd-php/angaze,jmather/pagoda-symfony-sonata-distribution,uttam-vi/pardawala,dziamid/lunch-time-composer,shcloudservices/agiletourreg,stof/symfony-standard,bocharsky-bw/symfony-standard,liip-forks/symfony-standard,basdek/SymfonyFireWall,webmozart/symfony-standard,marcoleong/musictube,orodsem/trout,black-project/black-standard,simonjcarr/symfony_rest,cordoval/symfony-bootstrap,marcoleong/musictube,damedia/culture.ru,cordoval/symfony-bootstrap,lsmith77/symfony-standard,mweimerskirch/symfony-standard,jakzal/symfony-standard,Spea/symfony-standard,phiamo/symfony-bootstrap,havvg/symfony-standard-propel,FLM/uberstrap,Metabor/Start-App,apnet/symfony-standard-edition,ovelasquez/ussi,phospr/symfony-starter,WouterJ/symfony-standard,alihalabyah/symfony-rest-edition,checat/symfony-minimal,apnet/symfony-standard-edition,debruyne0/symfony,delorenj/elleol_legacy,NoUseFreak/StandardEdition,mattvaadi/hris,tristanbes/symfony-standard,webignition/worker.simplytestable.com,papaavola/symfony-standard,ewgRa/symfony-standard,lukaszgi/operowo,RuntyCybin/symfony-standard,sandello-alkr/symfony,theodo/theodo-kata,JMSBot/CSBill,the-software-factory/superhero-api,micha149/wedding-page,isidromerayo/symfony2-jobeet,den2134/itdTest,damedia/culture.ru,skafandri/blog,gimler/symfony-rest-edition,mikekamornikov/remmart.ru,tdd-php/football,locastic/psc-symfony-angularjs,underq/symfony-rest-edition-experiment,dziamid/lunch-time-composer,WouterJ/symfony-standard,hrisproject/hris,continuousphp/symfony-skeleton,mukulu/hris,propelorm/symfony-propel-edition,orodsem/trout,MatthieuCutin/ligue-squash,lyrixx/symfony-rest-edition,micha149/wedding-page,damienalexandre/symfony-standard,meonkeys/symfony2-dual-auth,WolfMicrosystems/symfony-wms,kosintwong/symfony_test,GulDmitry/music-diff,tdd-php/angaze,twisted-socket/stage-plots,beyondkeysystem/psc-symfony-angularjs,we-bridge/symfony-admin,gimler/symfony-rest-edition,mweimerskirch/symfony-standard,rajkamalganeshvivid/symfony-standard,2085020/first-symfony-project,tristanbes/symfony-standard,ucsf-ckm/symfony-emberjs-edition,Ocramius/symfony-standard,proteichik/testApp,kmelia/fresh-symfony,tPl0ch/symfony-phpqatools,Cartesia/01,chregu/symfony-standard,by-examples/symfony-standard,mukulu/hris,havvg/symfony-propel-edition,orodsem/trout,buddhikajay/symfony-sonata-distribution,hrisproject/hris,bamarni/symfony-docker,vincentaubert/symfony-standard,fahadonline/sulu,Thiktak/Jordo,yhoiseth/notelite.net,havvg/symfony-propel-edition,micha149/wedding-page,merk/Citadel,chebetos/SymfonyTest,jmather/symfony-sonata-distribution,UxorialRook/symfony-standard,RuntyCybin/symfony-standard,tomat/symfony-standard,tdd-php/football,egeloen/symfony-standard,taylankasap/symfony-standard,UxorialRook/symfony-standard,stof/symfony-standard,ericclemmons/ericclemmons.github.io,dkarvounaris/symfony-standard,mnapoli/symfony-standard,jakzal/symfony-standard,tdd-php/angaze,uttam-vi/pardawala,dunglas/symfony-standard,webignition/worker.simplytestable.com,pjcdawkins/tmp-symfony-demo,unewochialat/symfony-standard,tarasinio/weather-remainder.com,fabpot/symfony-standard,joferzs/firewall,trsteel88/symfony-standard