Robert Korulczyk
507cc52658
Allow omit default params on URL creation
...
Fixes #10970
8 years ago
Andrew Nester
21faee5504
Fixes #13212 : Fixed `DbSession::regenerateID()` failure when `session_regenerate_id()` fails
8 years ago
Vladimir Kuprienko
e5d169beb8
Fixes #13393 : Removed redundant call to `yii\helpers\Url::to()` in `yii\web\Controller::redirect()`
8 years ago
Alexander Makarov
97171a0db7
Fixes #13401 : Fixed lack of escaping of request dump at exception screens
8 years ago
SilverFire - Dmitry Naumenko
24ad05de5b
Refactored `yii\web\ErrorAction` to make it reusable
8 years ago
Alexander Makarov
c33583aede
Fixed naming for #13214 as suggested by Paul
8 years ago
Alexander Makarov
8ba78398c7
Handle root tag set to null or false or empty. Fixed version in `@since`
8 years ago
Alexander Makarov
2f7c1b36b5
Fixes #12419 : Added ability to remove root tag and object tags for `yii\web\XmlResponseFormatter`
8 years ago
mhthnz
1dcc6042b6
Initial work on #12419
8 years ago
zalatov
deea3cf798
Fixes #12854 : Added `RangeNotSatisfiableHttpException` to cover HTTP error 416 file request exceptions
8 years ago
Carsten Brandt
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
8 years ago
Klimov Paul
7da77c3d5a
created `HostControl` filter to prevent Host header attacks
...
fixes #13050
close #13063
8 years ago
Robert Korulczyk
2d91723934
Add support for creating protocol-relative URLs.
...
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
8 years ago
Carsten Brandt
a498dedb5c
Added documentation about Host header attack ( #13073 )
...
* Added documentation about Host header attack
Added info about Host header attack (#13050 ) to the guide and the Request class.
When we introduce a filter or property to protect against this, these
sections should be updated to link to that option.
8 years ago
Carsten Brandt
b8b3aeeb00
update deprecated phpdoc messages
8 years ago
Evgeniy Tkachenko
bd9e68eb0a
Optimize imports ( #13033 )
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
450eefaa50
Some phpdoc fixes from scrutinizer.
8 years ago
Boudewijn Vahrmeijer
95f2c82009
Fixed the cryptic unstructured doc block ( #12978 ) [skip ci]
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Alexander Makarov
bea7c63664
And another leftover
...
No pushes to master today anymore. Need more sleep :(
8 years ago
Alexander Makarov
3d9945958d
Removed accidentally committed leftovers
8 years ago
Alexander Makarov
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
8 years ago
Alexander Makarov
0ac321370b
Fixes #12856 : Fixed `yii\web\XmlResponseFormatter` to use `true` and `false` to represent booleans
8 years ago
Carsten Brandt
11fe407ad0
release version 2.0.10
8 years ago
Carsten Brandt
8d5daef88e
more direct link in DbSession comment
8 years ago
SilverFire - Dmitry Naumenko
e23a419732
PHPDocs updated
8 years ago
Alexander Makarov
4b43183df7
Fixes #10563 : Fixed forming `Content-Disposition` header for file downloads ( #12721 )
8 years ago
Robert Korulczyk
63f95fa3ad
Fixes #11309 : Added `yii\web\Request::getHostName()` method that returns hostname of current request
8 years ago
Klimov Paul
7ca2260702
`UrlManager::normalizer` creation fixed
8 years ago
SilverFire - Dmitry Naumenko
3861108553
Fixed casting of `binnary()` type for MSSQL. Closes #12599
8 years ago
SilverFire - Dmitry Naumenko
3ec3ce9312
Reverted #10429 because of BC breaking
8 years ago
SilverFire - Dmitry Naumenko
f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests
8 years ago
SilverFire - Dmitry Naumenko
9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile
...
Closes #12544
8 years ago
Carsten Brandt
ee8a8e90f8
update urlnormalizer docs
8 years ago
Roman Grinyov
2063115982
Docblock: jquery -> jQuery, javascript -> JavaScript ( #12534 ) [skip ci]
8 years ago
Roman Grinyov
adde31ef10
Docblock: javascript -> JavaScript ( #12533 ) [skip ci]
8 years ago
Klimov Paul
bda1dbe004
Fix unit test
8 years ago
Klimov Paul
821f035c90
`UrlManager::normalizer` disabled by default
8 years ago
SilverFire - Dmitry Naumenko
78edcd0b51
Fixed typo in `yii\web\View::registerJsFile()`
8 years ago
SilverFire - Dmitry Naumenko
c3622bb1ad
Added tests for #10429
8 years ago
Evgeniy Tkachenko
fd6dd73cec
`AssetManager::getAssetUrl()` fixed to get URL when `appendedTimestamp` is true
8 years ago
SilverFire - Dmitry Naumenko
494842636e
📖 Fixed `client-side` and `server-side` grammar in all files
8 years ago
Paul Klimov
4e59607c9d
`MultipartFormDataParser` added ( #12466 )
...
`MultipartFormDataParser` added
8 years ago
Klimov Paul
22a224d232
Usage of `extract()` at `Session::setCookieParamsInternal()` removed
8 years ago
SilverFire - Dmitry Naumenko
eb02b362be
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b
.
8 years ago
SilverFire - Dmitry Naumenko
f7bd7c2b6b
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
8 years ago
Klimov Paul
ed0603b706
Fixed `yii\web\Request::getBodyParams()` does not pass full 'content-type' value to `yii\web\RequestParserInterface::parse()`
8 years ago
Robert Korulczyk
7d1ef4c054
Improvements for handling redirections produced by UrlNormalizer ( #12451 )
8 years ago