History log of /web-php/include/do-download.inc (Results 1 – 24 of 24)
Revision Date Author Comments
# a8c736a0 05-Dec-2023 Andreas Möller

Enhancement: Enable `void_return` fixer (#661)

* Enhancement: Enable void_return fixer

* Fix: Run 'make coding-standards'


# d9bcfed4 22-Aug-2022 Andreas Möller

Enhancement: Enable `array_syntax` fixer

Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.


# 5c9eab2f 15-Jul-2022 Christoph M. Becker

Fix CS violations (case of null, false and true)


# 22fffaad 28-Jun-2022 Andreas Möller

Fix: Remove unused references to a global variable (#563)


# dd8d8bf8 17-Oct-2018 Peter Kokot

Sync final and leading newlines

This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

Sync final and leading newlines

This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2

show more ...


# e235f794 17-Oct-2018 Peter Kokot

Trim trailing whitespace

This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.


# 0f95b8c7 30-Jun-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...


# 7d161939 27-Dec-2013 Hannes Magnusson

This hasn't been used in a looong time. Fixes bug #54377


# f85fbcbf 21-Nov-2013 Adam Harvey

Fix downloads by using the right variable.

Fixes bug #66142 (Impossible to download PHP from website).


# af21c998 21-Nov-2013 Hannes Magnusson

Download system tweaks

Remove reduntant/duplicate code between do-download and get-download

Also make this page more interesting when the download is missing from
this specific

Download system tweaks

Remove reduntant/duplicate code between do-download and get-download

Also make this page more interesting when the download is missing from
this specific mirror by give the choise of going to other mirrors to check.
Rather then blindly go to the download file though we go to the same page
on the other mirror so we can check if the file exists there before giving
the link to the actual real file.

This also makes it a lot easier to work with on developers checkouts

show more ...


# 52af0c2f 22-Jan-2012 Rasmus Lerdorf

Remove transitional master2 hostname


# 44a35204 20-Jan-2012 Rasmus Lerdorf

use master2


# 15871668 23-Jan-2011 Hannes Magnusson

Fix xss on bogus filenames (reported by Rasmus)


# 5a93445f 21-Jan-2011 Rasmus Lerdorf

Fix xss problems


# f4b2f7ea 05-May-2008 Hannes Magnusson

Fixed bug#44916 (wong status code)


# 2588fbb8 19-Sep-2006 Hannes Magnusson

Force correct status code (bug#36440)


# 3af56fce 27-Aug-2004 Gabor Hojtsy

link to the mirror list, and not the download mirror selector, since if the file is not available, the download mirror selector will also emit an error. so fit this download mirror selector too, to i

link to the mirror list, and not the download mirror selector, since if the file is not available, the download mirror selector will also emit an error. so fit this download mirror selector too, to inform the user

show more ...


# 8f8bdb37 27-Aug-2004 Gabor Hojtsy

intercept executable downloads, and inform users on a solution


# 6e14f214 21-Mar-2004 Gabor Hojtsy

downloads are not working, since the master server is down. PLEASE remove the comment if the master server is up again


# daaa449f 07-Sep-2003 Gabor Hojtsy

Include filename and server name in the error message, so we would
know this instantly in case one copy-paster submits this as an error
report to us.


# edad79a4 07-Sep-2003 Gabor Hojtsy

Support the download of manual files via short URLs, and with
mirror selection, as discussed on the last docmeeting


# a3cf8e36 09-Aug-2003 Gabor Hojtsy

No need to make $_SERVER global anymore, we have 4.1.x+
as a requirement currently...


# d6a39c13 17-May-2003 Gabor Hojtsy

Fix text in comment


# bfee72a3 17-May-2003 Gabor Hojtsy

Move do-download code to the include dir, as we
have no official direct interface for direct downloads,
and it would be painfull to maintain one

Also make the download code much more

Move do-download code to the include dir, as we
have no official direct interface for direct downloads,
and it would be painfull to maintain one

Also make the download code much more modern using
$_SERVER and $_REQUEST vars, instead of globals,
also use i2c_realip() for more accurate() IP detection

show more ...