22 Commits (4391ca7f7b8b8d2aef3d5ca77408902db8f2e860)

Author SHA1 Message Date
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
Sam 4d388f6cd2 Fixes #15317: Regenerate CSRF token if an empty value is given 7 years ago
Gabriel Caruso 2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 7 years ago
SilverFire - Dmitry Naumenko ea2c475ea7
Moved `HTTP_AUTHORIZATION` header check to `\yii\web\Request`, added docs 7 years ago
SilverFire - Dmitry Naumenko 1ce796ef0f
Removed ability to define a hostname as trusted because of possible security issues 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [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
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
Sam Mousa 8ae207c3a1
Fixes #13837: Refactored masking of CSRF tokens 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Robert Korulczyk 63f95fa3ad Fixes #11309: Added `yii\web\Request::getHostName()` method that returns hostname of current request 8 years ago
Carsten Brandt 17d08cc0a4 fixed crash on non-string input to CSRF token 8 years ago
quantum 7b46bd1f7c Fixes #10451: Check of existence of `$_SERVER` in `\yii\web\Request` before using it 9 years ago
zetamen df6f270a0e Fixes #9161: Fixed `yii\web\Request` ignore `queryParams` when resolve request 9 years ago
Alexander Makarov 372ff87ee4 Test for #8228 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Carsten Brandt 92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage 10 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue ad06b80e6e Enhanced parsing the accept header. 11 years ago