Commit Graph

324 Commits

Author SHA1 Message Date
Hannes Magnusson
bc3e6d743c Fix typo (TAKAGI Masahiro) 2007-12-26 21:01:15 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Rui Hirokawa
9fb312447e added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:50:54 +00:00
Seiji Masugata
498c2e08f1 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:28:37 +00:00
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Seiji Masugata
f8c62e9d07 Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 15:23:09 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
521a03c098 fix folding and ws 2007-01-12 12:06:33 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Seiji Masugata
0d9e23c38b Synced PHP_5_2 Branch. 2006-12-21 17:37:53 +00:00
Ilia Alshanetsky
fab0dd3b66 MFB: Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:56:07 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Nuno Lopes
07b26e4e5f MFB (int->long) 2006-09-05 12:32:13 +00:00
Seiji Masugata
cf90bc9e1c added returned value in mb_get_info( ). 2006-08-24 16:51:00 +00:00
Seiji Masugata
df84f5aa45 added option parameter mb_strrpos( ). 2006-07-17 04:44:06 +00:00
Seiji Masugata
85f42ffe65 changed GINIT definition. 2006-06-15 15:44:05 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Seiji Masugata
b56ab30155 fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:37:42 +00:00
Seiji Masugata
e241504917 fixed commnet typo, and duplicate logic. 2006-04-04 15:14:28 +00:00
Seiji Masugata
d8271224ad added mb_stristr( ), mb_strrichr( ). 2006-04-03 15:32:43 +00:00
Seiji Masugata
cbd37caefc added mb_stripos( ), mb_strripos( ). 2006-03-30 15:43:54 +00:00
Seiji Masugata
e42f182be3 added mb_strrchr( ). 2006-03-29 15:47:07 +00:00
Seiji Masugata
b5cd8f02d8 added mb_strstr( ). 2006-03-28 16:05:16 +00:00
Seiji Masugata
d28ec107ac added mb_list_mime_names( ). 2006-03-27 15:20:02 +00:00
Seiji Masugata
c8de944309 fixed compiler warning. 2006-03-26 02:23:25 +00:00
Seiji Masugata
5fdede19a4 added mb_list_encodings_alias_names( ). 2006-03-23 20:14:41 +00:00
Rui Hirokawa
0fb7618d6e added mb_check_encoding() to detect possible invalid encoding attack. 2006-03-21 07:47:43 +00:00
Rui Hirokawa
52a935ffd2 changed a option name based on PHP naming convension. 2006-03-21 02:19:59 +00:00
Rui Hirokawa
2832532138 MF PHP_5_1 2006-03-21 02:11:55 +00:00
Seiji Masugata
c9dfb792c5 added option parameter mb_list_encodings( ). 2006-03-16 15:21:12 +00:00
Rui Hirokawa
3b5a116511 fixed a possible null injection caused by missuse of mbstring.substitute_character. 2006-03-12 07:54:03 +00:00
Seiji Masugata
a7f7a7f389 fixed different value was returned in mb_get_info. 2006-03-10 16:36:52 +00:00
Pierre Joye
303bfea78f - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-07 00:20:54 +00:00
Yasuo Ohgaki
4cf8787936 remove obsolete check 2006-03-03 20:41:52 +00:00
Yasuo Ohgaki
52fe090ef0 add safe_mode num of parameter check 2006-03-02 00:34:28 +00:00
Marcus Boerger
bb94742080 - Disable mbregex support until someone finds a way to reenable the
required engine stuff
- Fix build
2006-02-23 20:15:36 +00:00
Rui Hirokawa
0453023c3e added additional info about mail encoding to mb_get_info(). (made by Jokagi) 2006-02-11 02:25:29 +00:00
Antony Dovgal
eadb1127fb MF51: initialize to_r
remove needless semicolon
2006-02-06 10:41:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Rui Hirokawa
08a9c6f235 added Turkish language definition (related to bug #29955) 2005-12-29 23:52:59 +00:00
Rui Hirokawa
8864bf27e2 fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:21:54 +00:00
Rui Hirokawa
283f4759f6 fixed #28899 mb_substr() and substr() work differently when mbstring.func_overload is enabled. 2005-12-23 11:14:54 +00:00
Antony Dovgal
e17430e145 MF51 Ilia's last fix
fix the test appropriately
2005-12-16 14:50:32 +00:00
foobar
f53c892557 fix build 2005-12-06 02:07:17 +00:00
foobar
acf2ab661a nuke php3 legacy 2005-12-06 01:26:39 +00:00
Rui Hirokawa
4c5d74a058 fixed 5307 unexpected header can be injected to mb_send_mail(). 2005-11-23 15:16:39 +00:00
Rui Hirokawa
1c23277a91 fixed #35253 length of the encoded string vilolates a RFC. 2005-11-19 06:32:20 +00:00
Ilia Alshanetsky
ac43306e72 MFB: fixed compiler warnings 2005-09-21 13:23:12 +00:00
Ilia Alshanetsky
db186add45 Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:15:20 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Moriyoshi Koizumi
542901d705 - Add Armenian encoding / NLS (patch by Hayk Chamyan) 2005-03-22 22:22:11 +00:00
foobar
2d521a73c8 Revert bad fix 2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571 Build fixes 2005-03-17 01:14:10 +00:00
Moriyoshi Koizumi
3093ceb3da - WS fix. 2005-02-21 15:14:32 +00:00
Moriyoshi Koizumi
0d7845384f - Fix bug #28568 (known_post_content_types is not thread safe).
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
Moriyoshi Koizumi
8d73dc7bfc - Fix compiler warnings. 2005-02-21 07:57:08 +00:00
Ilia Alshanetsky
f257e10d48 Removed unused vars. 2005-02-10 14:11:06 +00:00
Antony Dovgal
f7326d6279 MFB: fix #31732 2005-01-28 02:00:39 +00:00
Moriyoshi Koizumi
b1ddbcbef9 - Fix a critical bug that request-local settings leak to another request. 2005-01-16 15:55:17 +00:00
Moriyoshi Koizumi
b33f7ab671 - Fix bug #28466 (mbstring_convert_variables() problem). 2004-06-26 05:39:00 +00:00
Ilia Alshanetsky
3787740cbc Fixed compiler warning. 2004-03-12 01:59:46 +00:00
Moriyoshi Koizumi
e84334a597 - Revert ini setting patch, as I notified in
http://news.php.net/article.php?group=php.internals&article=8451
2004-03-10 20:55:42 +00:00
Derick Rethans
b3b2192a1e - Added mb_list_encoding() to return an array with all mbstring supported
encodings.
2004-03-08 22:18:05 +00:00
Ilia Alshanetsky
02cdf5a87a Fixed bug #27421 (mbstring.func_overload should be system ini setting). 2004-03-06 19:29:52 +00:00
Moriyoshi Koizumi
11b0f469f0 - Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
. Supports various encodings such as BIG5, GB2312 and ISO-8859-*
  . Fixes bug #26677 (mbstring compile errors with IRIX)
  . Many thanks to K.Kosako.
- Remove redundant files that are not relevant to the build.
2004-02-28 20:45:27 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
b8ea4e6fd2 Fix bug #26639 (mb_convert_variables() clutters variables beyond the references) 2003-12-18 09:50:20 +00:00
Moriyoshi Koizumi
c77302fd04 Eliminate compiler warnings. 2003-12-10 17:38:45 +00:00
Moriyoshi Koizumi
f8e6e5dad3 Compiler warning fix (patch by Joe Orton) 2003-11-11 17:35:32 +00:00
Rui Hirokawa
c4b163de88 encoding detection shouldn't be performed if mbstring.http_input is set to auto or any valid encoding. 2003-10-25 10:29:07 +00:00
Rui Hirokawa
0ce637835a name/value in multipart/form-date will be converted into internal encoding when mbstring.encoding_translation is On. 2003-10-22 14:14:05 +00:00
Ilia Alshanetsky
980c3b2b4c Fixed compile warnings. 2003-10-22 02:38:47 +00:00
Moriyoshi Koizumi
a5422685fb Remove leftovers 2003-10-02 11:02:54 +00:00
Moriyoshi Koizumi
b82679412c Fix some incompatibilities with the pre-libmbfl behaviour regarding encoding detection. 2003-09-26 14:42:14 +00:00
Moriyoshi Koizumi
aa36f5bbdb Oops 2003-09-23 13:23:30 +00:00
Moriyoshi Koizumi
a89d00bb6c Remove unused variable 2003-09-23 13:21:01 +00:00
Rui Hirokawa
25bb0d16a9 fixed win32-build and update e-mail address in mbstring. 2003-09-23 02:43:04 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Marcus Boerger
ba4178189b - Fix compile
- Building still not possible
2003-08-25 21:54:26 +00:00
Moriyoshi Koizumi
7fe12aaa17 Integrate allocator code into mbstring.c 2003-08-24 22:15:49 +00:00
Rui Hirokawa
6b92fbdef9 revert previous patch. 2003-08-23 10:04:43 +00:00
Rui Hirokawa
d2f002eed9 changed for ZTS mode. 2003-08-23 08:59:47 +00:00
Rui Hirokawa
5a80df26f3 @mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma. 2003-08-23 06:18:44 +00:00
Moriyoshi Koizumi
9bb299eb42 More accurate fix for bug #25140 2003-08-19 14:48:33 +00:00
Derick Rethans
9cd7b9d3c3 - Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
convert empty string)
2003-08-19 08:29:57 +00:00
Masaki Fujimoto
ab9dcec292 - added script encoding support to Zend Engine 2.
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
  UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
  '--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Moriyoshi Koizumi
5e343ad110 Eliminate redundant assignment 2003-08-08 09:51:28 +00:00
Moriyoshi Koizumi
de9d52c4e9 Real fix for the problem addressed in the last commit message. 2003-08-08 09:40:58 +00:00
Moriyoshi Koizumi
a12601456a Fix wrong behaviour under ZTS that was inconsistent with non-ZTS.
# This patch really needs MFH
2003-08-07 19:45:26 +00:00
Moriyoshi Koizumi
c7a29109a8 MFB(1.142.2.22): add missing NLS entry for German. 2003-08-06 22:01:23 +00:00
Marcus Boerger
0626fff0c1 Fix warning 2003-08-03 18:52:09 +00:00
Marcus Boerger
21503e723e Reallow build 2003-08-03 18:46:34 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Rui Hirokawa
ac91b2dbba MFH 2003-07-14 23:09:46 +00:00
Rui Hirokawa
0b0962eb8e added strict encoding detection mode to fix #24309 2003-07-13 08:20:01 +00:00
Rui Hirokawa
2b44c63d50 Fixed corruption of multibyte character including 0x5c as second
byte in multipart/form-data.
2003-06-28 23:37:18 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
e500e957ba Applied the right fix for bug #23016 2003-05-12 13:26:16 +00:00