171 Commits (e9f42c08545b3aa1a9982c72d5fd7680dff6f95e)

Author SHA1 Message Date
Igor Tarasov 7f88acb313
Fix #17878: Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()` 5 years ago
Alexander Makarov 7ec7fd11ee
Fix #17878: Added note about fetch() to Request::getIsAjax() phpdoc [skip ci] 5 years ago
Ather Shu 038ce9f77e Fix #17755: Fix a bug for web request with `trustedHosts` set to format `['10.0.0.1' => ['X-Forwarded-For']]` 5 years ago
Somogyi Márton 5e71b11d8d #17733: Additional fixes for #17665, `Forwarded` header parsing in Request 5 years ago
Mikk Tendermann 83055dcc33 Fix #17665: Implement RFC 7239 `Forwarded` header parsing in Request 5 years ago
Somogyi Márton 9054cdfdcc Fixes #17521: Request::getUserHost() and request::getUserIp() (#17593) 5 years ago
Somogyi Márton c87855b31c Fix #17573: `Request::getUserIP()` security fix for the case when `Request::$trustedHost` and `Request::$ipHeaders` are used 5 years ago
Brandon Kelly 55418776d4 Fixes #17215: Improved security for servers running PHP 7.0.0+ 6 years ago
Pavel Dovlatov bdb7c64910 Update to https protocol for php.net links (#17168) [skip ci] 6 years ago
Nikolay a140b2b468 Fixes #16991: Removed usage of `utf8_encode()` from `Request::resolvePathInfo()` 6 years ago
SilverFire - Dmitry Naumenko 1e13bfd13d
Fixed CSRF token check bypassing in Request::getMethod() 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Alexander Makarov 15dfbb0875
Fixes #16322: Fixed strings were not were not compared using timing attack resistant approach while CSRF token validation 6 years ago
Vladimir Reznichenko 6dd2aec011 [minor]: SCA (#16269) 6 years ago
pgaultier 35ac718110 Fixes #16006: Handle case when `X-Forwarded-Host` header have multiple hosts separated with a comma 7 years ago
Vladimir Reznichenko 1a74b3d4f8 [minor] SCA with Php Inspections (EA Ultimate) (#15871) 7 years ago
Vladimir Reznichenko f10cb6aeee SCA with Php Inspections (EA Ultimate) 7 years ago
Carsten Brandt e493843b1c
improve `@deprecated` annotations 7 years ago
Alexander Makarov 7bafb7bf09
Fixes #14488: Added support for X-Forwarded-Host to `yii\web\Request`, fixed `getServerPort()` usage 7 years ago
Paul Klimov acce1db53b Fixes #14135: Fixed `yii\web\Request::getBodyParam()` crashes on object type body params 7 years ago
Alexander Makarov 0b413b0e08
Fixed PHP 5.4 compatibility 7 years ago
Sam 4d388f6cd2 Fixes #15317: Regenerate CSRF token if an empty value is given 7 years ago
Alexander Makarov 2d672b6722
release version 2.0.13 7 years ago
SilverFire - Dmitry Naumenko d11bed5340
Minor, added strict comparsion 7 years ago
SilverFire - Dmitry Naumenko ea2c475ea7
Moved `HTTP_AUTHORIZATION` header check to `\yii\web\Request`, added docs 7 years ago
Alexander Makarov 3ee7629f13 Fixes #13486: Use DI container to instantiate cookies in order to be able to set defaults 7 years ago
SilverFire - Dmitry Naumenko 1ce796ef0f
Removed ability to define a hostname as trusted because of possible security issues 7 years ago
Carsten Brandt 1278b018fa Add IIS specific header to secure headers (#14715) 7 years ago
Carsten Brandt 9e713dba29
break if a matching trusted host is found 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Sam 0017d9c660 Fixes #13780: Added support for trusted proxies in `yii\web\Request` 7 years ago
Alexander Makarov 648971a82b Fixes #14542: Ensured only ASCII characters are in CSRF cookie value since binary data causes issues with ModSecurity and some browsers 7 years ago
PowerGamer1 8a6f5829d4 Fix for invalid example in Request phpdoc [skip ci] 7 years ago
Alexander Makarov d38908fc13
Fixed #14469: updated RFC links 7 years ago
yyxx9988 46bf3c410a Add `yii\web\Request::getOrigin()` method that returns HTTP_ORIGIN of current CORS request 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Carsten Brandt be658f82bf
release version 2.0.12 7 years ago
Alexander Makarov b04ff959ce
Fixed misleading docs about encoded URIs [skip ci] 8 years ago
Sam Mousa 183ebc5985
Revert "Moved serialization of `Cookie` to `Cookie`. Added unit test for serialization / deserialization." 8 years ago
Alexander Makarov 43edf24123
Eliminated else branches in yii\web\Request 8 years ago
Sam Mousa 8ae207c3a1
Fixes #13837: Refactored masking of CSRF tokens 8 years ago
Sam Mousa a2acd88efe
Moved serialization of `Cookie` to `Cookie`. Added unit test for serialization / deserialization. 8 years ago
Carsten Brandt c19b2f7dc8
release version 2.0.11 8 years ago
Klimov Paul 7da77c3d5a created `HostControl` filter to prevent Host header attacks 8 years ago
Carsten Brandt a498dedb5c Added documentation about Host header attack (#13073) 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Boudewijn Vahrmeijer 32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 8 years ago
Carsten Brandt 11fe407ad0 release version 2.0.10 8 years ago