Qiang Xue
3acca93ad3
Enable CSRF validation by default.
11 years ago
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
11 years ago
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Carsten Brandt
cc09ef56b9
updated @property annotations of web\Request
11 years ago
Qiang Xue
2deff126cf
Supports sending CSRF token via HTTP header.
11 years ago
Qiang Xue
51c29e444d
renamed Request::csrfTokenName to csrfVar.
...
added version, csrfVar and csrfToken to yii js module.
11 years ago
Benjamin Wöster
64d57b397a
add checks for HEAD request
11 years ago
Benjamin Wöster
d02e7d4004
add checks for GET and OPTIONS requests
11 years ago
Carsten Brandt
147558ea19
added some class documentation
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Alexander Makarov
9c97e3e38a
fixed phpdoc of Request
12 years ago
Qiang Xue
e433c98ed4
Fixes #599
12 years ago
Carsten Brandt
6ce60c1666
added support for HTTP verb PATCH
...
To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.
issues #303 and yiisoft/yii#2664
12 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
12 years ago
Qiang Xue
3e6419108f
Implemented language negotiation.
...
Implemented Request::getAcceptedContentTypes().
12 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
12 years ago
Carsten Brandt
71782b344e
Changed existing code to match the changes regarding response
12 years ago
Qiang Xue
e543c5fdd0
Fixed test break.
12 years ago
Qiang Xue
36f6ebab7f
Fixes issue #539 : Yii2 Csrf protection broken
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
12 years ago
Qiang Xue
f2d477dce6
Response WIP
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
13eca9054a
refactoring Request.
12 years ago
Qiang Xue
67d677b21e
Renamed Request::getRequestMethod() to Request::getMethod().
12 years ago
Qiang Xue
66e698673d
Fixes issue #457 : incorrect HTTPS detection.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
b2e7aa3114
Enhanced the detection of secure connection.
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
8520be08de
Fixes issue #174 : make URL parameters available in $_GET.
12 years ago
Qiang Xue
932ed70a72
Fixes issue #99 .
12 years ago
Qiang Xue
989b8fa5bf
Added CSRF support.
12 years ago
Qiang Xue
7dd1f884c4
Added support for rest to Html.
12 years ago
Qiang Xue
4c2fcd7608
refactored application.
12 years ago
Qiang Xue
1184e1e148
Finished AccessControl and HttpCache.
12 years ago
Qiang Xue
30d70be071
Finished Html helper.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
210e7b69c4
cleanup
12 years ago
Qiang Xue
60583b87d3
cleanup
12 years ago
Qiang Xue
e66729840d
Finished cookie.
...
Finished SecurityHelper.
12 years ago
Qiang Xue
4d6b3ddb9d
request wip
12 years ago
Qiang Xue
1536a6828a
cookie, request, response WIP
12 years ago
Qiang Xue
4ec96cd6cf
request WIP.
12 years ago
Qiang Xue
1eb1809aa4
finished URL testing.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago