Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (4)
......@@ -892,7 +892,7 @@ default_socket_timeout = 60
;extension=bz2
;extension=curl
;extension=fileinfo
;extension=gd2
extension=gd2
;extension=gettext
;extension=gmp
;extension=intl
......
......@@ -304,11 +304,10 @@ function router_send_file_headers($file_headers) {
// and Flash dislikes Content-Disposition
// we also disallow Date because PHP already is sending it (in the wrong format but w/e)
// disallow Report-To (Cloudflare header) because it causes "not a valid Director file" from Shockwave
if (($file_header_lower_matches[1] !== 'connection' || $file_header_lower_matches[2] !== 'close')
&& ($file_header_lower_matches[1] !== 'content-type' || $file_header_lower_matches[2] !== 'application/octet-stream')
&& $file_header_lower_matches[1] !== 'content-disposition'
&& $file_header_lower_matches[1] !== 'date'
&& $file_header_lower_matches[1] !== 'report-to') {
if (($file_header_lower_matches[1] === 'content-type' && $file_header_lower_matches[2] !== 'application/octet-stream')
|| $file_header_lower_matches[1] === 'content-length'
|| $file_header_lower_matches[1] === 'last-modified'
|| $file_header_lower_matches[1] === 'location') {
//router_output(ROUTER_TAB . 'Header Sent: ' . $file_headers[$i]);
header($file_headers[$i]);
}
......
Dri0m http://infinity.unstable.life/Flashpoint/Legacy/htdocs
Dri0m http://infinity.flashpointarchive.org/Flashpoint/Legacy/htdocs
Dri0m_Mirror http://infinity.unstable.life/Flashpoint/Legacy/htdocs
Archive.org http://archive.org/download/FP90Data/FP90Data.zip/htdocs
\ No newline at end of file
......@@ -289,10 +289,10 @@ function router_send_file_headers($file_headers) {
// also disallow the application/octet-stream mimetype
// and Flash dislikes Content-Disposition
// we also disallow Date because PHP already is sending it (in the wrong format but w/e)
if (($file_header_lower_matches[1] !== 'connection' || $file_header_lower_matches[2] !== 'close') &&
($file_header_lower_matches[1] !== 'content-type' || $file_header_lower_matches[2] !== 'application/octet-stream') &&
$file_header_lower_matches[1] !== 'content-disposition' &&
$file_header_lower_matches[1] !== 'date') {
if (($file_header_lower_matches[1] === 'content-type' && $file_header_lower_matches[2] !== 'application/octet-stream')
|| $file_header_lower_matches[1] === 'content-length'
|| $file_header_lower_matches[1] === 'last-modified'
|| $file_header_lower_matches[1] === 'location') {
//router_output(ROUTER_TAB . 'Header Sent: ' . $file_headers[$i]);
header($file_headers[$i]);
}
......