Hi,
I strongly recommend to submit the Strict session patch for
php-src(HEAD) because the vulnerability of PHP against the session
adoption/fixation attack is annoying issue of the PHP programmers for
many years.
I also suggest to apply this patch for PHP_5_4 after PHP 5.4.0 is
released. For PHP
Hi,
It is almost same for me.
What kind of configure option you are using ?
For me (Ubuntu 11.10),
if I made PHP-5.4 with 'configure --enable-mbstring', it works fine.
But, if I made it with 'configure --enable-mbstring
--with-apxs2=/usr/bin/apxs2', a Shift_JIS encoded PHP script causes the
pars
the security.
Rui
--
Rui Hirokawa
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
This is a revised patch based on the PHP constant.
Rui
(2011/01/05 21:50), Rui Hirokawa wrote:
Hello,
Thank you for the comment.
How about adding two PHP constant,
PHP_QUERY_RFC1738 (default) and PHP_QUERY_RFC3986 ?
It is like,
echo http_build_query($v, null, '&
#x27;&', PHP_QUERY_RFC3986);
Rui
(2011/01/05 21:17), Tjerk Meesters wrote:
Instead of a boolean, could you add a rfc-xx selection parameter
instead, like, in case one would like rfc 3986 instead?
On Jan 5, 2011 8:10 PM, "Rui Hirokawa" <mailto:rui_hirok...@yahoo.co.jp>>
Hello,
I made a patch to add the RFC-3984 based url-encoding support
into http_build_query().
The http_build_query() is quite useful, but,
it isn't based on the official url-encoding scheme (RFC-3984)
for ~ (tilde) and ' '(space).
I added an optional (the 4th) parameter 'is_rfc3984'.
If it is tr
,
>
> Is the link in the changelog pointing to the wrong bug? Seems mb related but
> speaks of mysqli. Just something small I noticed.
>
> -Chris
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
. mbstring.script_encoding in php.ini
2. declare(encoding=xxxx) in the script
3. BOM in Unicode (UTF-8, UTF-16)
All of these are alrady covered by the current test scrpts.
Rui
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
TED]> wrote:
> On Sun, 29 Jun 2008, Rui Hirokawa wrote:
>
> > hirokawaSun Jun 29 08:21:36 2008 UTC
> >
> > Modified files: (Branch: PHP_5_3)
> > /ZendEngine2Zend.m4 zend.c zend_compile.c zend_globals.h
> >
gle-byte
encodings.
Rui
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
PhmSp6ec7
> pAEAoKfDzhhpFKifgwlsn99WMwkve5bp
> =2qIJ
> -END PGP SIGNATURE-
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
n is there a procedure where I can submit "new
> feature" requests?
> Or is it possible for me to add the new character encodings myself?
>
>
> Thanks,
> Haluk
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit:
27 Sep 2007 18:37:57 +0200
LAUPRETRE François (P) <[EMAIL PROTECTED]> wrote:
> > From: Rui Hirokawa [mailto:[EMAIL PROTECTED]
> >
> > 1.set detect_unicode = Off
> > 2.adding declare(encoding="encoding_name") on the first line
> > of script can be your
Greg Beaver <[EMAIL PROTECTED]> wrote:
> LAUPRETRE Fran輟is (P) wrote:
> > Hi,
> >
> >> From: Rui Hirokawa
> >>
> >> IMHO, #42396 is not a bug, but it is the specification. The normal
> >> script doesn't contain a null byte if it is not
(unsigned char)0x0ff)
> + && ((*(p+2))==(unsigned char)0x0ff)
> + && ((*(p+3))==(unsigned char)0x0ff)) return NULL;
> + p++;
> + }
> +
> /* script contains NULL bytes -> auto-detection */
&g
erformance improvements (if (0) $t = $_ENV['foo']; will not trigger
> jit).
>
> --
>
> I would like to hear your ideas, opinions and comments. Especially
> about the possible changes in the engine. Feel free to ask more
> details if my explanations were unclear :)
>
> Regards,
> --Pierre
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
alias/MIME encoding?
1. adding new functions
(mb_list_encodings_alias_names(), mb_list_mime_names())
2. adding an option to mb_list_encoding().
Regards,
Rui Hirokawa
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
of adding them. And yes, I know this is pretty
> controversial, so take a few deep breaths before replying, please.
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Da
ity function such as http_digest_params() to decode
> parameters from $_SERVER['PHP_AUTH_DIGEST'] will be also useful
> to make the authentication code.
>
> I hope apply this patch into CVS HEAD if there is no objection.
>
> Rui
>
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
(BHTTP Digest Authorization is supported by PEAR::Auth_HTTP.
(BBut, as you said, it cannot be used when safe_mode = On.
(B
(BTo solve this problem,
(BI made a simple patch based on your suggestion based on php5 CVS HEAD.
(BApplying this patch, we can access $_SERVER['PHP_AUTH_DIGEST'] ,
(Bw
_JIS (likewise,
> setting this in the php.ini file worked as well). Then, the characters
> would be displayed correctly in Shift_JIS. I'm not sure if this is the
> correct behavior though... it seems to me that the internal encoding
> should almost always be UTF-8 and mb_convert_
ething to do with the comparison. if it
> still doesn't work please let me know.
>
> Andi
>
> At 04:43 PM 5/9/2004 +0900, Rui Hirokawa wrote:
>
> >Hi,
> >
> >I think objects comparison in PHP5 has problems.
> >Here is small sample code,
>
oo] could not be converted to integer)
not same,not same,not same,same
PHP 5.0.0RC2 zend.ze1_compatibility_mode=on :
same,same,not same,same
not same,not same,not same,not same
The problem and question are,
1. the different class is recognised as same in PHP5 (ze1_compat=on).
2. the sa
the order of parameters should be unknown.
I will use Thomas Pike's excellent implementation now.
Rui
Rui Hirokawa wrote:
Hi,
I just made a patch to add http digest authentication for php5
based on RFC2617.
It is not tested well yet, the attached sample script
'digest-auth.php' wo
Can I attach a php script ?
$username = "taro";
$password = "secret";
function auth_func() {
global $realm, $nonce;
header('HTTP/1.0 401 Unauthorized');
header("WWW-authenticate: Digest realm=\"$realm\" nonce=\"$nonce\"");
die('password or user name is invalid.');
}
if (empty($_SERVER['PH
I forgot to attach a sample script.
Rui
Hi,
I just made a patch to add http digest authentication for php5
based on RFC2617.
It is not tested well yet, the attached sample script
'digest-auth.php' works with Mozilla Firebird 0.7.
It is useful or not ?
Rui
--
PHP Internals - PHP Runtime Deve
Hi,
I just made a patch to add http digest authentication for php5
based on RFC2617.
It is not tested well yet, the attached sample script
'digest-auth.php' works with Mozilla Firebird 0.7.
It is useful or not ?
Rui
Index: main/SAPI.h
===
ncoding *elist;
> - enum mbfl_no_encoding encoding;
> + enum mbfl_no_encoding encoding = mbfl_no_encoding_invalid;
> mbfl_encoding_detector *identd = NULL;
>
> int size, *list;
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
strictly for bug fixes, no major changes code and functionality
> changes should occur to prevent introduction of new bugs into a stable code
> base. As such, as a 4.3.X Release Master I am strongly opposed to this
> change.
>
> Ilia
>
> On September 21, 2003 07:02 a
.
I have plan to commit the same changes to PHP_4_3 branch.
If someone has problem with these changes, please let me know.
Rui
--
Rui Hirokawa <[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
30 matches
Mail list logo