Skip to content

Commit

Permalink
Merge pull request #13496 from cq-z/filename_error
Browse files Browse the repository at this point in the history
Filename error
  • Loading branch information
niden authored Oct 4, 2018
2 parents d472fe2 + 0479ee5 commit 72cfb5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-3.4.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# [3.4.2](https://github.com/phalcon/cphalcon/releases/tag/v3.4.2) (2018-XX-XX)
- Fixed `Phalcon\Validation\Validator\Numericality` to accept float numbers on locales with comma decimal point [#13450](https://github.com/phalcon/cphalcon/issues/13450)
- Fixed `\Phalcon\Http\Response::setFileToSend` filename last much _

# [3.4.1](https://github.com/phalcon/cphalcon/releases/tag/v3.4.1) (2018-08-04)
- Changed `Phalcon\Cache\Backend\Redis` to support connection timeout parameter
Expand Down
2 changes: 1 addition & 1 deletion phalcon/http/response.zep
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ class Response implements ResponseInterface, InjectionAwareInterface
if attachment {
this->setRawHeader("Content-Description: File Transfer");
this->setRawHeader("Content-Type: application/octet-stream");
this->setRawHeader("Content-Disposition: attachment; filename=" . basePath);
this->setRawHeader("Content-Disposition: attachment; filename=" . basePath . ";");
this->setRawHeader("Content-Transfer-Encoding: binary");
}

Expand Down

0 comments on commit 72cfb5e

Please sign in to comment.