content-length problem #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I use Nginx, the content-length for download page is not the same as file size
So we can modify
src/Gist/Controller/ViewController.phpand change'Content-Length' => filesize($file),to'Content-Length' => strlen($viewOptions['raw_content']),strlenormb_strlen? Did you try it?I use
strlenand it works fine on Nginx with php7.2-fpmAlready fixed on dev-master:
b74960ecd3Released on v1.8.1: https://gitnet.fr/deblan/gist/src/v1.8.1