Re: htmlspecial-chars is NOT binary save
| From: | Thies C. Arntzen | Date: | Thu, 11 Feb 1999 15:12:18 +0000 |
| Subject: | Re: htmlspecial-chars is NOT binary save | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4050@lists.php.net to get a copy of this message | ||
On Thu, 11 Feb 1999, Rasmus Lerdorf wrote:
> > my mistake, my new oci blob stuff doesn't append a null to the clob
> > (character lob), one guy working with it noticed strange things when
> > htmlspecialcharing these blobs.....
> >
> > BTW: should all strings (var->value.str.val) still be zero terminated????
> > or is the length in .len the only "of it's kind" (if the later is true
> > htmlspecialchars needs the fix)
>
> Yes, they should be null-terminated. There are plenty of functions in
> external libraries that expect strings to be null-terminated and it isn't
> possible for us to fix all of these libs to be binary-safe.
sorry, too much work lately - my view of the world was VERY limited - of
course - you are right!!!
cheers,
tc
>
> -Rasmus
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net