Searched hist:"894 a80cc56d188b10cc78bb4c088bea731f991a2" (Results 1 – 3 of 3) sorted by relevance
/dokuwiki/lib/exe/ |
H A D | fetch.php | 894a80cc56d188b10cc78bb4c088bea731f991a2 Tue Oct 17 17:53:29 UTC 2006 Andreas Gohr <andi@splitbrain.org> restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME types a redirect is sent back to the browser. This reduces the risc of being misused as open proxy.
Additionally the download facility is disabled completly by default by setting the fetchsize option to 0. Users who want the feature need to overwrite the option in their local.php.
Background: The ability to download external files is needed to resize external images on the server side. When disabled, a redirect is sent to the browser which will download the fullsize image and rescale it on the client side which is more bandwidth and CPU intensive.
darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
|
/dokuwiki/ |
H A D | install.php | 894a80cc56d188b10cc78bb4c088bea731f991a2 Tue Oct 17 17:53:29 UTC 2006 Andreas Gohr <andi@splitbrain.org> restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME types a redirect is sent back to the browser. This reduces the risc of being misused as open proxy.
Additionally the download facility is disabled completly by default by setting the fetchsize option to 0. Users who want the feature need to overwrite the option in their local.php.
Background: The ability to download external files is needed to resize external images on the server side. When disabled, a redirect is sent to the browser which will download the fullsize image and rescale it on the client side which is more bandwidth and CPU intensive.
darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
|
/dokuwiki/conf/ |
H A D | dokuwiki.php | 894a80cc56d188b10cc78bb4c088bea731f991a2 Tue Oct 17 17:53:29 UTC 2006 Andreas Gohr <andi@splitbrain.org> restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME types a redirect is sent back to the browser. This reduces the risc of being misused as open proxy.
Additionally the download facility is disabled completly by default by setting the fetchsize option to 0. Users who want the feature need to overwrite the option in their local.php.
Background: The ability to download external files is needed to resize external images on the server side. When disabled, a redirect is sent to the browser which will download the fullsize image and rescale it on the client side which is more bandwidth and CPU intensive.
darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
|