Qiang Xue
80d69a6551
Renamed csrfParam back to csrfVar for consistency.
11 years ago
Qiang Xue
677ee94bb1
Fixes #2386
11 years ago
Dilip
e87220bed4
Update Request.php
11 years ago
Dilip
85a8191f6e
Changed csrf-var to csrf-param
...
Changed csrf-var to csrf-param due to meta validation error. The validation error as mentioned in the issue https://github.com/yiisoft/yii2/issues/2363 . It is fixed in this pull request.
11 years ago
Qiang Xue
fb4b0ae98d
The scripts in asset bundles are now registered in `View` at the end of `endBody()`. It was done in `endPage()` previously
11 years ago
Qiang Xue
2dc341f893
not sending csrf header in ajax response.
11 years ago
pzaremba
7d96de6619
one more revert.
11 years ago
pzaremba
75ae3db906
Reverted changes unrelated to issue #2325
11 years ago
pzaremba
9b96338a63
Revert "fixing wrapping - my NetBeans has a mind of its own."
...
This reverts commit 80be824fc7
.
11 years ago
pzaremba
80be824fc7
fixing wrapping - my NetBeans has a mind of its own.
11 years ago
pzaremba
0bf39f6e98
Adding support for the X-HTTP-Method-Override header.
11 years ago
Qiang Xue
646e371b44
Fixes #1812 : Hide potential warning message due to race condition occurring to `Session::regenerateID()` call
11 years ago
vova07
efaaec1cbf
Improved to support aliases. Fixes #2240 .
11 years ago
Qiang Xue
d53f4dd9ea
Fixes #2139 : error found while sending response is not displayed.
11 years ago
Qiang Xue
4433a67f8e
Added `yii\web\View::clear()`
11 years ago
Carsten Brandt
3519c14e60
throw exceptions in case of invalid response content
...
fixes #1842
11 years ago
Qiang Xue
02b908bd9c
Fixes #938 : added `yii\web\View::renderAjax` and `yii\web\Controller::renderAjax`.
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Qiang Xue
861c2b2f9c
Added `yii\web\View::POS_LOAD`
11 years ago
Carsten Brandt
f93054a486
fixed possible problem with realpath and false value
...
realpath(false) = current working directory.
This can cause problems with getAlias() which returns false.
see yiisoft/yii#3113
11 years ago
Alexander Makarov
f1a674b921
Added `yii\web\Request::get($name = null, $defaultValue = null)` and `yii\web\Request::post($name = null, $defaultValue = null)`
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
Carsten Brandt
ce04134db2
removed getPostParam() from Request, body is $_POST by default
...
fixes #2093
11 years ago
Carsten Brandt
190417f917
small refactoring + cleanup request
11 years ago
Carsten Brandt
6f82959675
made post params consistend with body and query params in request
...
issue #2093
11 years ago
Qiang Xue
11c9c5b573
fixed test break.
11 years ago
peeradach001
7c0b56cb96
fix
11 years ago
Carsten Brandt
bc9b62c314
url of CSS and JS files registered in View can be url alias
...
fixes #2132 , fixes #2133
11 years ago
Carsten Brandt
9630c807a7
doc link fixes
11 years ago
Daniel Schmidt
041f6aac6c
Removed temp class
11 years ago
Daniel Schmidt
d03b2add89
Condenses changelog notes to 1 line ( #2103 )
11 years ago
Daniel Schmidt
7fef8cf0cf
Adds docblock comments and HTTP spec links for the new HTTP Exception classes ( #2103 )
11 years ago
Vladimir Zbrailov
4dabe605e3
added use http_get_request_headers and use getHeaders method in Gii module
11 years ago
Vladimir Zbrailov
53647d8b16
Added ability to get incoming headers
11 years ago
Daniel Schmidt
f24454a458
Renames AccessDeniedHttpException to ForbiddenHttpException in framework, docs, and extension files
11 years ago
Daniel Schmidt
20e031c8ac
Adds UnsupportedMediaTypeHttpException for 415 Http errors
11 years ago
Daniel Schmidt
81f3ce12ab
Adds TooManyRequestsHttpException for 429 http errors
11 years ago
Daniel Schmidt
87a2b1d6b9
Adds ConflictHttpException for 409 http errors
11 years ago
Daniel Schmidt
8d9c9a3482
Adds NotAcceptableHttpException for 406 Http errors
11 years ago
Daniel Schmidt
c5252f9284
Adds GoneHttpException for 410 http errors
11 years ago
Daniel Schmidt
04743b20a2
Adds UnauthorizedHttpException class for 401 errors
11 years ago
Daniel Schmidt
cbe8b27779
Deletes AccessDeniedHttpException
11 years ago
Daniel Schmidt
31bff3eae5
Renames AccessDeniedHttpException to ForbiddenHttpException as in #2103
11 years ago
Qiang Xue
9aa006e5ea
Removed implementation of `Arrayable` from `yii\Object`
11 years ago
Carsten Brandt
4844886431
added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
...
fixes #1585
11 years ago
Carsten Brandt
9822dfae55
typo
11 years ago
Carsten Brandt
0d669f5e6b
refactored params methods in Request
...
issue #2043
11 years ago
Luciano Baraglia
701852e95d
AccessControl denyCallback call fix
11 years ago
Carsten Brandt
36c296378b
remove _method param from rest params
11 years ago
Carsten Brandt
813a008da2
improved request body parser docs and configuration
...
added a fallback for handling all request types
fixes #2066 , related to #2043
11 years ago