Re: [PHP-DEV] Strict session?

2011-11-11 Thread Rui Hirokawa
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

Re: [PHP-DEV] Zend Multibyte support

2011-11-02 Thread Rui Hirokawa
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

[PHP-DEV] proposal for change the argument of parse_str/mb_parse_str

2011-09-10 Thread Rui Hirokawa
the security. Rui -- Rui Hirokawa -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
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, '&

Re: [PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
#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>>

[PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
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

Re: [PHP-DEV] PHP 4.4.9 Released!

2008-08-08 Thread Rui Hirokawa
, > > 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

Re: [PHP-DEV] New flame

2008-07-05 Thread Rui Hirokawa
. 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

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / Zend.m4 zend.c zend_compile.c zend_globals.h zend_highlight.c zend_language_scanner.c zend_language_scanner.h zend_language_scanner.l zend_l

2008-07-05 Thread Rui Hirokawa
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 > >

Re: [PHP-DEV] towards a 5.3 release

2008-07-03 Thread Rui Hirokawa
gle-byte encodings. Rui -- Rui Hirokawa <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New flame

2008-06-29 Thread Rui Hirokawa
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

Re: [PHP-DEV] Adding new encodings to mbstring?

2008-06-29 Thread Rui Hirokawa
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:

[PHP-DEV] Re: RE : [PHP-DEV] Re: RE : [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-10-01 Thread Rui Hirokawa
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

Re: [PHP-DEV] Re: RE : [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-09-07 Thread Rui Hirokawa
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

Re: [PHP-DEV] [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-08-26 Thread Rui Hirokawa
(unsigned char)0x0ff) > + && ((*(p+2))==(unsigned char)0x0ff) > + && ((*(p+3))==(unsigned char)0x0ff)) return NULL; > + p++; > + } > + > /* script contains NULL bytes -> auto-detection */ &g

Re: [PHP-DEV] php6: input encoding, filter and making JIT really JIT

2006-12-15 Thread Rui Hirokawa
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

[PHP-DEV] RFC: about mb_list_encoding() /mb_list_encodings_alias_names( ), mb_list_mime_names( )

2006-09-23 Thread Rui Hirokawa
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

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-12 Thread Rui Hirokawa
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

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-28 Thread Rui Hirokawa
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

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-26 Thread Rui Hirokawa
(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

Re: [PHP-DEV] mbstring internal encoding behavior

2004-12-10 Thread Rui Hirokawa
_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_

Re: [PHP-DEV] Comparing objects on PHP5

2004-05-09 Thread Rui Hirokawa
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, >

[PHP-DEV] Comparing objects on PHP5

2004-05-09 Thread Rui Hirokawa
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

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
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

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
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

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
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

[PHP-DEV] adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
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 ===

[PHP-DEV] Re: [PATCH] mbstring warning fixes

2003-11-11 Thread Rui Hirokawa
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

Re: [PHP-DEV] changes in ext/mbstring (PHP_4_3)

2003-09-21 Thread Rui Hirokawa
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

[PHP-DEV] changes in ext/mbstring (PHP_4_3)

2003-09-21 Thread Rui Hirokawa
. 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