Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
fd332d02
Commit
fd332d02
authored
Jan 06, 2015
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6736 from DaSourcerer/patch-1
Remove Content-Transfer-Encoding from the list of default download headers
parents
7af1f11b
f3f5fcae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
Response.php
framework/web/Response.php
+0
-1
No files found.
framework/CHANGELOG.md
View file @
fd332d02
...
@@ -11,6 +11,7 @@ Yii Framework 2 Change Log
...
@@ -11,6 +11,7 @@ Yii Framework 2 Change Log
-
Bug #6648: Added explicit type casting to avoid dblib issues on SQL Server 2014 (o-rey)
-
Bug #6648: Added explicit type casting to avoid dblib issues on SQL Server 2014 (o-rey)
-
Bug #6691: Fixed console help description parsing with UTF8 characters (cebe)
-
Bug #6691: Fixed console help description parsing with UTF8 characters (cebe)
-
Bug #6717: Fixed issue with UrlManager not matching a route on url creation when it was prefixed with
`/`
and pattern was empty (cebe)
-
Bug #6717: Fixed issue with UrlManager not matching a route on url creation when it was prefixed with
`/`
and pattern was empty (cebe)
-
Bug #6736: Removed
`Content-Transfer-Encoding`
from the list of default download headers (DaSourcerer)
-
Enh #4502: Added alias support to URL route when calling
`Url::toRoute()`
and
`Url::to()`
(qiangxue, lynicidn)
-
Enh #4502: Added alias support to URL route when calling
`Url::toRoute()`
and
`Url::to()`
(qiangxue, lynicidn)
-
Enh #5194:
`yii\console\controllers\AssetController`
now handles bundle files from external resources properly (klimov-paul)
-
Enh #5194:
`yii\console\controllers\AssetController`
now handles bundle files from external resources properly (klimov-paul)
-
Enh #6247: Logger and error handler are now using slightly less memory (stepanselyuk, samdark)
-
Enh #6247: Logger and error handler are now using slightly less memory (stepanselyuk, samdark)
...
...
framework/web/Response.php
View file @
fd332d02
...
@@ -557,7 +557,6 @@ class Response extends \yii\base\Response
...
@@ -557,7 +557,6 @@ class Response extends \yii\base\Response
->
setDefault
(
'Accept-Ranges'
,
'bytes'
)
->
setDefault
(
'Accept-Ranges'
,
'bytes'
)
->
setDefault
(
'Expires'
,
'0'
)
->
setDefault
(
'Expires'
,
'0'
)
->
setDefault
(
'Cache-Control'
,
'must-revalidate, post-check=0, pre-check=0'
)
->
setDefault
(
'Cache-Control'
,
'must-revalidate, post-check=0, pre-check=0'
)
->
setDefault
(
'Content-Transfer-Encoding'
,
'binary'
)
->
setDefault
(
'Content-Disposition'
,
"
$disposition
; filename=
\"
$attachmentName
\"
"
);
->
setDefault
(
'Content-Disposition'
,
"
$disposition
; filename=
\"
$attachmentName
\"
"
);
if
(
$mimeType
!==
null
)
{
if
(
$mimeType
!==
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment