Qiang Xue
c31e113d95
Fixes #1671
11 years ago
Qiang Xue
4b569f3e90
Fixed CSRF token masking issue.
11 years ago
Qiang Xue
c8960168c5
Fixes #1634 : Use masked CSRF tokens to prevent BREACH exploits
11 years ago
Qiang Xue
2686403c0e
Use better random CSRF token.
11 years ago
Qiang Xue
c7c13a6693
Added concrete http exception classes.
11 years ago
Panagiotis Moustafellos
58bd2fb958
Only whitespace removal
11 years ago
Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
11 years ago
Qiang Xue
c7ff329e3c
doc fix.
11 years ago
egorpromo
c16c181247
Must be one method to get _GET. getGet() is just duplication
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Taras Gudz
f9db4fecb9
Fixed phpDocs [skip ci]
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Alexander Makarov
cc5fe76c9e
Added ability to get all GET, POST, PUT, DELETE or PATCH parameters to Request
11 years ago
Alexander Makarov
8c98d99596
Removed fallback from mb_parse_str to parse_str from Request::getRestParams since mb_ availability is Yii2 requirement
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
293cb9d86f
Fixed search form.
11 years ago
Qiang Xue
fe58cbd56a
doc update.
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Qiang Xue
ae39324e54
Support ajax redirection.
11 years ago
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
11 years ago
Qiang Xue
e433c98ed4
Fixes #599
11 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
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 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