PHP 5.4.1, I suggest that the default value of
session.use_strict_mode should be 0 (Off) to maintain the backward
compatibility.
Rui
Yasuo Ohgaki wrote:
> Hi all,
>
> Few years ago, I have proposed strict session.
> It seems PHP 5.4 and php-src don't have protection against sessi
HP script causes the
parser error.
For both cases, zend.multibyte and zend.script_encoding can be specified.
I believe that it was OK in Ubuntu 11.04 with the same option
(--with-axps2).
Rui
Yasuo Ohgaki wrote:
> Hi all,
>
> I noticed that "Zend Multibyte Support"
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, '&
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, '&');
echo http_build_query($v, null, '&',PHP_QUERY_RFC1738);
echo http_build_query($v, null, &
_build_query($v, null, '&');
// result: foo=m%20p&boo=%5B%5E~5D (RFC-3986 compatible)
echo http_build_query($v, null, '&', true);
// result: foo=m%20p&boo=%5B%5E~5D (RFC-3986 compatible)
echo rawurlencode($v['foo']).&
There are a typo in NEWS of PHP 4.4.9.
#37421 should be #27421.
> fixed bug #27421 (by david at dfoerster dot de) mbstring.func_overload
> set in .htaccess becomes global
Rui
On Thu, 7 Aug 2008 14:09:47 -0700
"Chris Stockton" <[EMAIL PROTECTED]> wrote:
> Hello
. 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
Current implementation of zend-multibyte for PHP 5.3
is ported from PHP 5.2 with minimal changes.
I think that the incompatibilities between flex and re2c cause the
problem.
Marcus,
Do you have any comments ?
Rui
On Thu, 3 Jul 2008 10:04:30 +0200 (CEST)
Derick Rethans <[EMAIL PROTEC
Hello,
> 3) re2c
> Rui recently came to the list with notes on the ZE MB feature [7].
>
> @Scott/Marcus: Is this enough for you guys to get this working?
> @Rui: Is there any chance you can get more people in the japanese (or
> asian in general) community involved here?
for (1),(2)
for Shift_JIS encoding. But, I didn't confirmed yet for Unicode BOM
and other encodings.
We need to have more test scripts to maintain the reliability,
to minimize security risks.
Rui
On Tue, 24 Jun 2008 16:21:33 +0200
Stefan Esser <[EMAIL PROTECTED]> wrote:
> -BEGIN
patch into libmbl and mbstring
after simple inspection.
Rui
On Sat, 28 Jun 2008 22:12:07 -0400
"Haluk AKIN" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to add new character encodings to mbstring?
> http://us.php.net/mbstring
>
> If it is possible, the
Elizabeth M Smith escreveu:
Steph Fox wrote:
Hi Gwynne,
I'd be willing to take a bash at it. What's required? I have access
to a Windows XP SP2 machine.
MSVC 6.0 - and up to date libraries for everything, which would be my
personal stumbling block right now. Elizabeth's probably best-placed
Changing 'detect_unicode' disabled as default is a possible solution.
But, it might cause some backward incompatibility issues.
If no one gives any objection within a coupled of days,
I will commit the change ('detect_unicode' will be disabled by default).
Rui
On Thu,
Hi,
The declare() semantic like,
declare(encoding="Shift_JIS");
is already supported by mbstring since PHP 4.3.
1.set detect_unicode = Off
2.adding declare(encoding="encoding_name") on the first line of script
can be your solution ?
Rui
On Fri, 07 Sep 2007 14:40:14 -0500
Hi,
IMHO, #42396 is not a bug, but it is the specification.
The normal script doesn't contain a null byte if it is not encoded in Unicode.
It is understandable the addition of a unique byte seqence
'0x' detection to support PHAR/PHK,
but it is a change to add a new fe
I think #2 is better than #1.
The current implementation of mbstring is based on the solution similar
to #1. It is simple and stable, but, #2 has more flexibility.
Rui
On Thu, 14 Dec 2006 21:59:44 +0100
Pierre <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Yesterday, Ilia, Andrei and
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
myhong
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1 bundling the opcode cache like APC.
I also wish some elemental debugging features (stack dump, etc.)
like Xdebug has.
Rui
On Fri, 12 Aug 2005 10:48:20 -0700
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Since we are breaking a lot of stuff in 6.0, at least with
> Unicode_seman
I checked this problem again,
and I found getallheaders() can have "authorization" even if safe_mode
is "On".
So, $_SERVER['PHP_AUTH_DIGEST'] in my patch is not necessary to use
with PEAR::Auth_HTTP and Apache.
I am not sure it is useful or not with another SAPI
HTTP Digest Authorization is supported by PEAR::Auth_HTTP.
But, as you said, it cannot be used when safe_mode = On.
To solve this problem,
I made a simple patch based on your suggestion based on php5 CVS HEAD.
Applying this patch, we can access $_SERVER['PHP_AUTH_DIGEST'] ,
w
= Japanese; for Japanese encoding like Shift_JIS
mbstring.language = Korean; for Korean encoding
It affects the automatic encoding detection of the user input
(POST/GET/Cookie) and the default encoding.
Rui
On Sat, 04 Dec 2004 15:01:59 -0500
Al Baker <[EMAIL PROTECTED]> wrote:
> I
)
same,not same,not same,same
not same,not same,not same,same
PHP 5.0.0-CVS 2004/5/9 (ze1_compatibility_mode = On)
same,same,not same,same
not same,not same,not same,not same
Rui
On Sun, 09 May 2004 19:17:35 +0300
Andi Gutmans <[EMAIL PROTECTED]> wrote:
> Did you check HEAD? I fixed som
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 - P
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: m
Thank you for sending patch.
I applied your first patch to cvs, but, the second change
was already applied in cvs.
Rui
On Tue, 11 Nov 2003 15:45:35 +
Joe Orton <[EMAIL PROTECTED]> wrote:
> 4.3/ext/mbstring/mbstring.c: In function `php_mb_gpc_encoding_converter':
>
Ilia,
I understand your opinion. The stable release has priority in PHP_4_3
branch.
I will skip to commit for PHP_4_3 branch, and I commit this change for
upcoming PHP_4_4 (4.5?) branch.
Rui
On Sun, 21 Sep 2003 12:26:25 -0400
Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:
> PHP_4_3 is
.
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
32 matches
Mail list logo