Quantcast
Channel: generic blog of schmidi2 » PHP
Viewing all articles
Browse latest Browse all 3

Uebimiau Bug: class.uebimiau.php on line 467

$
0
0

See: http://www.uebimiau.org/

Migrating the webfrontend (uebimiau version 2.7.2, is a old release) from an old suse to debian with php5 caused one error:

Site: https://***/download.php?folder=inbox&ix=0&mnum=&bound=FF0tLS0tLS0tLS0tLFFFFFA0MDUwNjAyMDAwNjA2MDIwFFFFMDU=&part=1&sid={46D2FFFF54623-46D2FCE259441-FFFF232418}&tid=0&lid=1

Warning: Header may not contain more than a single header, new line detected. in /Data/DataInet/webmail.t-p.com/inc/class.uebimiau.php on line 467

 

Solve it this way

$ diff class.uebimiau.php.ori class.uebimiau.php
466,467c466,467
<                       header(“Content-Type: $content_type; name=\”$filename\”\r\n”
<                       .”Content-Length: $filesize\r\n”);

>                       header(“Content-Type: $content_type; name=\”$filename\”");
>                       header(“Content-Length: $filesize”);
469c469
<                       header(“Content-Disposition: $cdisp; filename=\”$filename\”\r\n”);

>                       header(“Content-Disposition: $cdisp; filename=\”$filename\”");
680c680
< ?>
\ No newline at end of file

> ?>

I dislike php 


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images