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 |
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 |
Carsten Brandt
|
9822dfae55
|
typo
|
11 years ago |
Carsten Brandt
|
0d669f5e6b
|
refactored params methods in Request
issue #2043
|
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 |
Daniel Schmidt
|
1026b9da57
|
Tabs vs. spaces
|
11 years ago |
Daniel Schmidt
|
7f8850bc70
|
Adds customizable parsing functionality to the web\Request class (Issue #2043)
|
11 years ago |
Carsten Brandt
|
7ae8b8b50f
|
added support to parse json request to Request::getRestParams()
|
11 years ago |
Qiang Xue
|
68fdb52551
|
doc improved.
|
11 years ago |
Qiang Xue
|
88059439f6
|
Fixes #2063: Removed `yii\web\Request::acceptTypes` and renamed `yii\web\Request::acceptedContentTypes` to `acceptableContentTypes`.
Renamed `yii\web\Request::acceptedLanguages` to `acceptableLanguages`
|
11 years ago |
Alexander Makarov
|
462c50031a
|
Fixes #1930: Fixed domain based URL matching for website root
|
11 years ago |
Alexander Makarov
|
6e7165133e
|
Fixes #1991: regression in index.php handling
|
11 years ago |
Qiang Xue
|
58e847258f
|
Renamed Request::maskedCsrfToken to csrfToken.
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Alexander Makarov
|
e8a80af413
|
fixes #1811
|
11 years ago |
Alexander Makarov
|
bee82b29ad
|
Fixed URL parsing so it's now properly giving 404 for URLs like `http://example.com//////site/about`
|
11 years ago |
Carsten Brandt
|
9968098e8a
|
fixed getSecureConnection after #1800
and 7ba6a06300
|
11 years ago |
Alexander Makarov
|
7ba6a06300
|
Fixed code style and comparison
|
11 years ago |
ginus
|
e92934e612
|
fix when $_SERVER['HTTPS'] is "ON"
when $_SERVER['HTTPS'] is "ON" it doesn't work well
|
11 years ago |
Qiang Xue
|
943bf88904
|
doc fix.
|
11 years ago |
Qiang Xue
|
f554d46aaa
|
minor fixes.
|
11 years ago |
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 |