[CLUG] Line breaks bug on Red Hat 7.0

Peter Flynn pflynn at imbolc.ucc.ie
Tue Jun 5 10:53:00 IST 2001


Adam writes:

> Apparently Red Hat 7.0 adds line breaks to variables in forms with a
> multipart/form-data enctype. Anyone know of an OS level workaround
> for this?  I don't want to have to cater for this in every PHP
> script I write on my RH7 box!

Do you mean that a form variable arrives in your CGI environment with
a newline at the end? It would be unlike Apache (I assume that's what
you're using) to do something this silly, but I can't imagine what bit
of the OS would be responsible.

7.0 has lotsa bugs from what I see. 7.1 looks much better, but I haven't
tested this bit of it yet.

///Peter




More information about the Cork mailing list