108 Commits

Author SHA1 Message Date
df6f270a0e Fixes #9161: Fixed yii\web\Request ignore queryParams when resolve request 2015-07-21 10:40:31 +03:00
9f91a02a86 Fixes #9005: added note about crossdomain jQuery requests and Request::getIsAjax() 2015-07-06 16:34:02 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
e8535eea22 Incorrect property type declared. 2015-06-07 23:55:34 +03:00
8609311738 Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled 2015-05-06 17:09:31 +03:00
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00
92664b4b11 code optimization [skip ci] 2015-04-06 08:14:01 -04:00
739f6358cd Fixes #7637: Allow yii\web\Request::validateCsrfToken() to validate a manually provided token 2015-04-05 17:34:29 -04:00
19ca5a1584 Fixes #7637. 2015-03-30 22:36:45 -04:00
ae305bb907 Fixes #7226: yii\web\Request::getEtag() should strip off -gzip which may be added by Apache 2015-02-10 13:36:05 -05:00
0a6cd6190b Fixes #7051: Added support for preventing swapping values between different cookies 2015-01-28 22:29:37 -05:00
7a9f1a0ce7 getQueryParam() and getBodyParam() doc edits
- Made yii\web\Request::getQueryParam() and getBodyParam()'s doc blocks more consistent with each other
- getQueryParam() was incorrectly stating that if $name was omitted, all of $_GET would be returned (but $name is required)
2015-01-12 17:12:57 -08:00
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00
c489f8228d Removed unnecessary token generation. We already have it. 2014-10-09 14:53:59 +04:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
262a77caca Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session 2014-09-04 12:20:09 -04:00
92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage
ensure it is one of the input values

fixes #4880
2014-09-01 12:46:38 +02:00
3a7ed9b1a9 Added yii\web\Request::setRawBody() 2014-08-20 23:14:48 +08:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
08a480c6e6 make Request more robust against invalid CSRF data
fixes #4514
2014-07-29 20:13:57 +02:00
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
acaa4f8194 Fixes #4204: yii\web\Request::getUserIP() will return null if it cannot detect user IP address 2014-07-04 09:14:01 -04:00
399b6b18e3 Fixes #4103 2014-06-28 21:58:07 -04:00
2bab6259d1 'Security' helper usage switched to 'security' application component. 2014-06-27 14:31:08 +03:00
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
b2246d19ce fix align 2014-06-04 09:36:55 +06:00
bf73fd81c1 Set expire to null so CookieCollection::has work 2014-06-04 09:33:39 +06:00
313437f3c0 Fixes #3284: Added support for checking multiple ETags by yii\filters\HttpCache. 2014-05-23 15:53:49 -04:00
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
27659d1776 fixed FileHelper private method static call 2014-03-26 17:51:52 +01:00
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
4c939eee3e reverted back change to parsing body params. 2014-03-23 16:52:43 -04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
300c5a549a Fixes #2825: Request::getBodyParams() should correctly parse CONTENT TYPE. 2014-03-22 13:01:21 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
40cb98bb02 updated @property annotations 2014-03-11 16:21:25 +01:00
2dcf428173 changelog 2014-03-10 11:23:36 +04:00
46d2413c69 fix buildin php bug https://bugs.php.net/bug.php?id=66606 2014-03-10 00:33:41 +04:00
af33e821a0 typo fix. 2014-03-02 16:55:53 -05:00
032f38a57b Added yii\web\Request::getAuthUser() and getAuthPassword() 2014-02-28 21:29:18 -05:00
ad06b80e6e Enhanced parsing the accept header. 2014-02-26 23:11:59 -05:00
3dead3386c CS fix. 2014-02-24 07:33:16 -05:00
8c1d39b348 Add getIsPjax method to Request 2014-02-24 12:28:33 +01:00
752b7cf9d1 Fixes #2502: Unclear error message when $_SERVER['DOCUMENT_ROOT'] is empty 2014-02-20 20:55:02 +04:00
5558fa1297 small code style fix 2014-02-17 03:56:35 +01:00