Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 6ca6359

Browse files
committed
Merge branch 'develop' of http://github.com/pydio/pydio-core into develop
* 'develop' of http://github.com/pydio/pydio-core: (27 commits) Multiple DL: get parent base for zip file. Imagick: close session to avoid blocking request when generating preview. Fix resize when loading page. Get editable value in FormManager. Close #1124 Fix strange display in authentication panel by passing smbclient as param instead of global_param Raise filtering level when downloading from remote or extarcting archive. Css compile Updated Italian translation for plugin 'core.ajaxplorer' Adding Italian translation for plugin 'authfront.session_login' Adding Italian translation for plugin 'authfront.otp' Adding Italian translation for plugin 'authfront.keystore' Adding Italian translation for plugin 'authfront.http_server' Adding Italian translation for plugin 'authfront.http_basic' Adding Italian translation for plugin 'authfront.duosecurity' Adding Italian translation for plugin 'authfront.cyphered' editor.ajxp_graphs czech translation editor.audio czech translation editor.codepress czech translation editor.exif czech translation editor.infopanel translation editor.soundmanager translation ...
2 parents 2011e00 + 4dc943c commit 6ca6359

File tree

40 files changed

+840
-104
lines changed

40 files changed

+840
-104
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ If you think you have found a bug and a way to fix it neatly in the code, use a
3333

3434
#### Writing new plugins
3535

36-
Please read the Developer doc located at https://pyd.io/documentation/developer, you will find here a bunch of useful information about the plugins architecture, how to create your own plugin, etc. The action.skeleton plugin is a perfect start for that.
36+
Please read the Developer doc located at https://pydio.com/en/docs/developer-guide, you will find here a bunch of useful information about the plugins architecture, how to create your own plugin, etc. The action.skeleton plugin is a perfect start for that.
3737

3838
New in latest build, in the Settings panel, you can find a new "Developer" node where all actions contributed by all plugins are listed. These can be called either by http, or via the CLI API. At the same location, you will find all "hooks" registered and triggered in the server, that are VERY useful when you want your plugin to be really sandboxed.
3939

4040
#### Signing the CLA
4141

42-
Please <a href="https://pydio.com/en/community/contribute/contributor-license-agreement-cla">sign the Contributor License Agreement</a> before contributing.
42+
Please [sign the Contributor License Agreement](https://pydio.com/en/community/contribute/contributor-license-agreement-cla) before contributing.

core/src/core/classes/class.HTMLWriter.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ public static function generateAttachmentsHeader(&$attachmentName, $dataSize, $i
170170
if ($gzip) {
171171
header("Content-Encoding: gzip");
172172
}
173-
header("Content-Length: ".$dataSize);
174-
if ($isFile && ($dataSize != 0)) {
175-
header("Content-Range: bytes 0-" . ($dataSize- 1) . "/" . $dataSize . ";");
173+
if ($dataSize >= 0) {
174+
header("Content-Length: ".$dataSize);
175+
if ($isFile && ($dataSize != 0)) {
176+
header("Content-Range: bytes 0-" . ($dataSize- 1) . "/" . $dataSize . ";");
177+
}
176178
}
177179
header("Content-Disposition: attachment; filename=\"".$attachmentName."\"");
178180
header("Expires: 0");

0 commit comments

Comments
 (0)