Re: [fpc-pascal] Null characters in ansistring

2006-01-27 Thread Michael Van Canneyt
On Thu, 26 Jan 2006, L505 wrote: If there is a null character in the middle or somewhere inside an ansistring, this does not affect it's length, correct? Unless casting with pchars in play. This is correct. Reason I ask is that I wonder if it is a good idea to strip all incoming null char

[fpc-pascal] Null characters in ansistring

2006-01-26 Thread L505
If there is a null character in the middle or somewhere inside an ansistring, this does not affect it's length, correct? Unless casting with pchars in play. Reason I ask is that I wonder if it is a good idea to strip all incoming null characters for web/internet security reasons. If someone inser