|
Re: Minor cr/lf bug. [message #14091 is a reply to message #14082] |
Wed, 05 November 2003 13:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Good idea, I'll make it strip 0-31 127-159 character list from the user names.
FUDforum Core Developer
|
|
|
Re: Minor cr/lf bug. [message #14095 is a reply to message #14082] |
Wed, 05 November 2003 16:01 |
Xodnizel
Test
Messages: 7 Registered: November 2003
Karma: 0
|
Junior Member |
|
|
Using ctype_print http://www.php.net/ctype_print where available might be a better idea, still.
Stripping out 0-31 probably won't mess with very many foreign character-coding schemes(well, not the well-designed ones at least), but if you strip out anything in 128+, you might have a problem.
I'll run some tests and see how well ctype_print works.
|
|
|
Re: Minor cr/lf bug. [message #14096 is a reply to message #14095] |
Wed, 05 November 2003 16:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Can't use that function, because it is not always avaliable.
Also the ctype_print() only checks the given data, the actual code removes the invalid characters.
FUDforum Core Developer
[Updated on: Wed, 05 November 2003 16:03] Report message to a moderator
|
|
|