Re: htmlspecial-chars is NOT binary save
| From: | Thies C. Arntzen | Date: | Thu, 11 Feb 1999 15:04:06 +0000 |
| Subject: | Re: htmlspecial-chars is NOT binary save | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4048@lists.php.net to get a copy of this message | ||
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)
anyway will fix my code and htmlspecialchars....
regards,
tc
On Thu, 11 Feb 1999, Rasmus Lerdorf wrote:
> > there are some calls to strlen in html.c (whereby we should use we
> > should use arg->value.str.len)
> >
> > shall i fix it, or is there a special reason for it????
>
> Go ahead and fix it. Although I am not quite sure why anybody would need
> an htmlspecialchars-escaped binary string.
>
> -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