Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Alexey Rogachev
37f19a0256
Fixes #13300 , #13307 , #13310 , #13312
...
- Bug #13300 : Allow pjax with "data-pjax" with no value in `yii.js`.
- Bug #13307 : Preventing of race conditions in script filter in `yii.js` works incorrectly.
- Bug #13310 : Handle relative and absolute URLs coincidence in CSS filter in `yii.js`.
- Bug #13312 : `skipOuterContainers` option was incorrectly passed to pjax in `handleAction` in `yii.js`.
- Partially fixes #13299 .
Adds tests for #8014 , #11921 , #10974 , #11494 , #10358 , #10097 .
8 years ago
zalatov
deea3cf798
Fixes #12854 : Added `RangeNotSatisfiableHttpException` to cover HTTP error 416 file request exceptions
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
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
Carsten Brandt
4b40417972
improved docs about sendFile() in Request
8 years ago
Roman Grinyov
d8e0694aec
Added missing square bracket
8 years ago
dasmfm
91734ae83b
Fixes #11432 : Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response`
...
Source: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
9 years ago
Klimov Paul
57ab949be5
`Response::redirect()` uses 200 status code if 'X-Ie-Redirect-Compatibility' header sent
9 years ago
SilverFire - Dmitry Naumenko
019587e544
yii\web\Response - fixed comparation bug introduced in #9670
9 years ago
SilverFire - Dmitry Naumenko
dc93ec3812
Bug #9670 : Fixed PJAX redirect in IE
9 years ago
Carsten Brandt
d9f8933737
added prettyPrint option to JsonResponseFormatter
...
fixes #9762
close #10412
9 years ago
kidol
603092db28
\yii\web\Response::sendHeaders() does not send status header last
...
to avoid php magic about Location: header to take effect.
Fixes #9412
close #9485
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
Alexander Mohorev
9e3d28a3d9
Fix spelling
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Klimov Paul
886e99be11
Fixed `yii\web\Response::xSendFile()` does not reset format
9 years ago
Carsten Brandt
9a5abd923f
cleanup after #8171
10 years ago
Philippe Gaultier
be6c619de9
Fixes #8171 : Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper
10 years ago
Steven Michaels
748e68f98d
Fixing broken doc links to ContentNegotiator
10 years ago
Alexander Kochetov
4e8197e43f
Light Response refactoring
10 years ago
Alexander Makarov
0eecb6ab1e
Fixes #7529 : Fixed `yii\web\Response::sendContentAsFile()` that was broken in 2.0.3
10 years ago
Qiang Xue
07403d3f9d
Fixes #3723 : `yii\filters\PageCache` now supports caching response headers as well as non-HTML response content
10 years ago
slavcodev
9028bc5aa7
Fixed header Content-Type when response is empty
10 years ago
Qiang Xue
0a6cd6190b
Fixes #7051 : Added support for preventing swapping values between different cookies
10 years ago
sadgnome
0b4896929b
Fixed content-length in sendContentAsFile()
...
Fixed wrong Content-Length header when sending file using Response::sendContentAsFile().
10 years ago
Qiang Xue
96c4ec88ca
Fixes #6889 doc fix [skip ci]
10 years ago
DaSourcerer
0cf4e7494f
Removed Content-Transfer-Encoding from the list of default download headers
...
`Content-Transfer-Encoding` is not a valid HTTP header (cf [RFC 7230, section 3.3.1](http://tools.ietf.org/html/rfc7230#section-3.3.1 ), [RFC 7231, section 8.3](http://tools.ietf.org/html/rfc7231#section-8.3 ), [IANA Message Header Registry](http://www.iana.org/assignments/message-headers/message-headers.xhtml )). The correct HTTP pendant would be `Transfer-Encoding: identity`, which were entirely bogus.
10 years ago
Qiang Xue
875e2c3acb
Fixes #4395 : Added `$checkAjax` parameter to `yii\web\Response::redirect()` to support default redirection behavior for AJAX/PJAX requests
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
10 years ago
Alexander Makarov
4832760604
Removed unused "use" statements
10 years ago
Qiang Xue
d6fd45079e
typo fix.
10 years ago
Qiang Xue
fa0418f8a1
Fixes #4424 : Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response`
10 years ago
Klimov Paul
fe36bc9ecd
`options` parameter extracted at `yii\web\Response::xSendFile()`
10 years ago
Klimov Paul
e3cea2138a
Added `forceDownload` parameter to `yii\web\Response::xSendFile()`
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
Paweł 'Zibi' Zaremba
c6c29db9b4
Fixes #4636 : Added `yii\web\Response::setDownloadHeaders()`
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
10 years ago
Klimov Paul
2bab6259d1
'Security' helper usage switched to 'security' application component.
10 years ago
Carsten Brandt
109c4b44bc
attempt to fix multiple header issue
...
fixes #3893
10 years ago
Carsten Brandt
c8f6baf5ba
Update Response.php
...
typo
10 years ago
lynicidn
3829b3a5ad
changed comments #3446
11 years ago
Ceana Razvan
48635c2d3e
Update Response.php
...
$_SERVER['SERVER_PROTOCOL'] returns 'HTTP/1.0' or 'HTTP/1.1'
11 years ago