History log of /dokuwiki/lib/exe/fetch.php (Results 26 – 50 of 86)
Revision Date Author Comments
# 9d2e1be6 16-Feb-2013 Andreas Gohr <andi@splitbrain.org>

introduced http_status() for sending HTTP status code FS#1698

It seems, some servers require a special Status: header for sending the
HTTP status code from PHP (F)CGI to the server. This patch intro

introduced http_status() for sending HTTP status code FS#1698

It seems, some servers require a special Status: header for sending the
HTTP status code from PHP (F)CGI to the server. This patch introduces a
new function (adopted from CodeIgniter) for simplifying the status
handling.

show more ...


# 36625b96 16-Feb-2013 Andreas Gohr <andi@splitbrain.org>

run main code only for non-tests in lib/exe/fetch.php


# 3b399a1b 16-Feb-2013 Andreas Gohr <andi@splitbrain.org>

reformatted lib/exe/fetch.php


# 58789954 23-Oct-2012 Andreas Gohr <andi@splitbrain.org>

correctly check hash parameter in media dispatcher FS#2648


# 5373d847 08-Sep-2012 Hakan Sandell <sandell.hakan@gmail.com>

Replacing $_REQUEST variables with $INPUT wrapper, fetch.php


# 3009a773 28-Jul-2012 Andreas Gohr <andi@splitbrain.org>

replaced use of basename() with utf8_basename() FS#2015


# bfd0f597 29-Jun-2012 Tom N Harris <tnharris@whoopdedo.org>

Input wrapper for exe scripts


# fc4aefb9 04-Jun-2011 Kate Arzamastseva <pshns@ukr.net>

fetch.php with rev parameter


# e3776c06 29-Nov-2010 Michael Hamann <michael@content-space.de>

Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3

As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is o

Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3

As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is opened,
thus this commit removes the enc setting from the modeline.

show more ...


# d7879495 12-Mar-2010 Andreas Gohr <andi@splitbrain.org>

Merge branch 'requireall'

Conflicts:
inc/fulltext.php


# c6f610ef 24-Feb-2010 Andreas Gohr <andi@splitbrain.org>

Send 403 instead of 401 in fetch.php FS#1904


# 03293305 23-Feb-2010 Andreas Gohr <andi@splitbrain.org>

Changed FETCH_MEDIA_4XERROR to FETCH_MEDIA_STATUS


# cd98d9c3 23-Feb-2010 Gerry Weißbach <gerry.w@gammaproduction.de>

Added FETCH_MEDIA_4XERROR event


# 24b3cb1a 01-Feb-2010 Andreas Gohr <andi@splitbrain.org>

removed require's in lib/exe/*


# 47583ff0 16-Oct-2009 furun <furun@arcor.de>

Whitespace cleanup FS#1709

Ignore-this: 27ea52110bce929b2c61ed8faba67cfc

darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz


# 69d17d94 06-Oct-2009 Andreas Gohr <andi@splitbrain.org>

require a hash in fetch.php for external URLs FS#1769

Ignore-this: a66fc8874fb8e04b1258f2e71e35ed90

To avoid fetch.php being abused as anonymous forwarder or even proxy, now a
hash is needed for ex

require a hash in fetch.php for external URLs FS#1769

Ignore-this: a66fc8874fb8e04b1258f2e71e35ed90

To avoid fetch.php being abused as anonymous forwarder or even proxy, now a
hash is needed for external ressources. This hash is automatically added by
the ml() function.

darcs-hash:20091006182001-7ad00-adf5f6275b0d7f76543f76d6196f1531b8c09e1c.gz

show more ...


# 27bf7924 25-Sep-2009 Tom N Harris <tnharris@whoopdedo.org>

Use all available icons for file links (FS#1759)

All PNG and GIF images in the lib/images/fileicons directory will be used
for media file links. The conf/mime.conf file continues to restrict
which f

Use all available icons for file links (FS#1759)

All PNG and GIF images in the lib/images/fileicons directory will be used
for media file links. The conf/mime.conf file continues to restrict
which file types may be uploaded. File types not in the configuration
list are download-only.

darcs-hash:20090925231746-6942e-299a52772f67e265a8702bda3686f495e4337a8f.gz

show more ...


# 758447cf 13-Mar-2009 Andreas Gohr <andi@splitbrain.org>

Support for multirange requests for media FS#1630

Ignore-this: 50de569608231b910a62327d2f3af1de

This patch moves all HTTP sending related functions to inc/httputils.php

Handling of range requests

Support for multirange requests for media FS#1630

Ignore-this: 50de569608231b910a62327d2f3af1de

This patch moves all HTTP sending related functions to inc/httputils.php

Handling of range requests was rewritten completely to support mutirange
requests. This should fix problems with Adobe Reader but needs testing.

darcs-hash:20090313190247-7ad00-e6ec1f81acb9f7ac651357dd034c2689aea6868d.gz

show more ...


# 6106ad89 18-Jan-2009 Chris Smith <chris.eureka@jalakai.co.uk>

add http_sendfile() function

- update fetch.php to use the new function

darcs-hash:20090118183600-f07c6-65c818bba58fab8856c9f353ff4953ead9b5221e.gz


# ecebf3a8 02-Dec-2008 Andreas Gohr <andi@splitbrain.org>

Make content-disposition configurable in mime.conf FS#1541

With this patch it is possible to define if a file should be served as download
or be displayed inside the browser (if supported) by config

Make content-disposition configurable in mime.conf FS#1541

With this patch it is possible to define if a file should be served as download
or be displayed inside the browser (if supported) by configuring it in
conf/mime.conf

Mimetypes that should be served with a "Content-Disposition: attachment" header
need to be prefixed with a exclamation mark. All others will be served inline.

This will also fix a Problem with Flash 10.

darcs-hash:20081202210322-7ad00-6e7ef30aff9322cd135311be77809187da121f3b.gz

show more ...


# 13c08e2f 26-Oct-2008 Michael Klier <chi@chimeric.de>

moved crop/resize functions out of fetch.php for reusability

darcs-hash:20081026135833-23886-a9c8e910571c6e7a4e1603a2ebd365b3ed37108a.gz


# 09a5b61f 05-Aug-2008 gweissbach <gweissbach@inetsoftware.de>

fetch.php file not existing and devision by zero

If the cache file does not exist after it should have been generated via an action
plugin or via resizing filemtime fails with a file not found. This

fetch.php file not existing and devision by zero

If the cache file does not exist after it should have been generated via an action
plugin or via resizing filemtime fails with a file not found. This has to be fixed
by @filemtime.

Another fix is the check for the $INFO before resizing an image in get_resized.
get_croped has already been fixed

darcs-hash:20080805132309-f4337-41698af01cf1f3632bd68e1e10724bdffc7c58a3.gz

show more ...


# e42176e6 27-Jul-2008 Gerry Weissbach <gerry.w@gammaproduction.de>

Avoid div by zero in get_cropped() FS#1453

darcs-hash:20080727180206-0d72e-28f6206ebe4f6c36f835c50f46d9cbe220ab6177.gz


# b80bedd6 23-Jun-2008 Andreas Gohr <andi@splitbrain.org>

MEDIA_SENDFILE event added

This new event wraps around the sendFile function in lib/exe/fetch.php and
allows intercepting mediafile downloads.

darcs-hash:20080623172020-7ad00-c71293c9ebbbce7559e4b3

MEDIA_SENDFILE event added

This new event wraps around the sendFile function in lib/exe/fetch.php and
allows intercepting mediafile downloads.

darcs-hash:20080623172020-7ad00-c71293c9ebbbce7559e4b34e878d364a555ebfa2.gz

show more ...


# d52a56e1 16-May-2008 Andreas Gohr <andi@splitbrain.org>

always crop when height is given

darcs-hash:20080516131348-7ad00-499fcf8660323913e0cff1fbf85d9ffb56ea113b.gz


1234