LukeWCS
1f96a2c79a
[ticket/17076] Fix signature length calculation
...
The error occurs when BBcode is used but there is no whitespace. In this case,
a part of the RegEx that is designed to be greedy is responsible for selecting
all BBcode tag containers and their content that do not contain whitespace.
This, in combination with the replace string, effectively reduces the entire
signature to a single space. This is the explanation for the reported behavior
of phpBB.
In addition, the bug also generally prevents the correct removal of BBcode
containers if their content does not contain whitespace. In such cases, the
BBcode tags are removed along with the content, which also results in
incorrect calculation of the text length.
* Changed the corresponding RegEx part from greedy to non-greedy.
* Removed an unnecessary class definition.
* Changed an unnecessary capturing group to a non-capturing group.
* Changed the replace string from a space to an empty string. <- Here,
however, I'm not sure if the space was intentional or not!
PHPBB3-17076
2023-02-01 20:21:37 +01:00
lionel-rowe
9b2f42748c
[ticket/16981] Fix HTML-encoded emojis in email subject line
...
PHPBB3-16981
2022-04-05 17:18:33 +01:00
rxu
2fd4dbb685
[ticket/16690] Fix htmlspecialchars and htmlspecialchars_decode default flag
...
PHPBB3-16690
2021-01-20 00:21:24 +07:00
Marc Alexander
2a8239075e
Merge branch '3.2.x' into 3.3.x
2020-08-06 17:21:58 +02:00
Marc Alexander
a378e0eb0c
Merge pull request #61 from phpbb/ticket/security-259
...
[ticket/security-259] Stop checking image size of images in img BBCode
2020-07-25 11:16:07 +02:00
Marc Alexander
d0e2023a63
[ticket/security-259] Stop checking image size of images in img bbcode
...
SECURITY-259
2020-06-25 22:20:58 +02:00
Marc Alexander
3ecd2f150d
[ticket/security/257] Enforce http(s) for URLs in image BBCode
...
SECURITY-257
2020-05-02 14:24:06 +02:00
rxu
82e61f501a
[ticket/16276] Fix bbcode_firstpass undefined mode property
...
PHPBB3-16276
2019-12-29 01:51:15 +07:00
Marc Alexander
56477a8f7c
[ticket/security/244] Add form token check to plupload
...
SECURTIY-244
2019-08-24 22:23:38 +02:00
Marc Alexander
2af8713a48
Merge pull request #5469 from senky/ticket/15899
...
[ticket/15899] Add core.modify_attachment_sql_ary_on_* events
2019-01-20 15:38:13 +01:00
Jakub Senko
572545a430
[ticket/15899] Add core.modify_attachment_sql_ary_on_* events
...
PHPBB3-15899
2018-12-27 10:27:10 +01:00
Ruben Calvo
b148bb5d70
[ticket/15849] Stop using php4 constructors
...
PHPBB3-15849
2018-10-21 07:02:26 +00:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
654c2370ea
[ticket/7845] Ensure config script path is not empty
...
PHPBB3-7845
2017-09-08 11:54:42 +02:00
rxu
68c3a0307d
[ticket/15324] Add more core and template events
...
PHPBB3-15324
2017-08-16 22:38:34 +07:00
Marc Alexander
f27cdad73e
Merge branch '3.1.x' into 3.2.x
2017-02-11 21:48:20 +01:00
Jakub Senko
779758f219
[ticket/13429] Replace @change with @changed
...
PHPBB3-13429
2017-01-23 13:33:15 +01:00
Tristan Darricau
7bb4e88acd
Merge branch '3.1.x' into 3.2.x
...
* 3.1.x:
[ticket/14802] Add test for empty/blank lines in poll options
[ticket/14802] Empty/blank lines should not be additional poll options
2016-10-03 20:20:54 +02:00
Daniel Sinn
0b3951cb81
[ticket/14802] Empty/blank lines should not be additional poll options
...
PHPBB3-14802
2016-09-29 14:43:36 -04:00
Jakub Senko
c64b8102b7
[ticket/10809] Remove MSSQL support
...
PHPBB3-10809
2016-08-02 12:06:06 +02:00
Jakub Senko
15a0013193
[ticket/9435] Switch "ID" and BBcode name in constants keys
...
PHPBB3-9435
2016-03-19 17:17:03 +01:00
Jakub Senko
46c79bbe90
[ticket/9435] Convert bbcode magic numbers to constants
...
PHPBB3-9435
2016-03-18 10:56:14 +01:00
Marc Alexander
7a6a16e3a5
[ticket/13454] Remove unused variables
...
This is part 5 and there is more to come.
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
266576c6a4
[ticket/13454] Remove unused variables
...
Part 4
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
49312f05f8
[ticket/14168] Use attachment manager instead of separate classes
...
PHPBB3-14168
2015-10-12 11:34:11 +02:00
Marc Alexander
98ebbbdca2
[ticket/14168] No longer use deprecated functions in core files
...
PHPBB3-14168
2015-10-09 10:18:40 +02:00
Marc Alexander
e158db5daa
[ticket/14168] Minor coding style fixes
...
PHPBB3-14168
2015-10-09 10:15:39 +02:00
Marc Alexander
16d5208d9a
[ticket/14168] Use attachment upload class in message_parser
...
PHPBB3-14168
2015-10-09 09:46:11 +02:00
Marc Alexander
58286171f1
[ticket/14150] Update fast-image-size to newest version
...
PHPBB3-14150
2015-09-08 12:59:55 +02:00
Marc Alexander
1a9bc8a7ad
Merge branch '3.1.x'
...
Conflicts:
phpBB/includes/message_parser.php
2015-08-22 08:51:09 +02:00
rxu
9e467a4e4a
[ticket/14072] Add core event to the function format_display()
...
PHPBB3-14072
2015-08-06 03:51:48 +07:00
JoshyPHP
d9db021af4
[ticket/13880] Merge branch 'ticket/13880' into ticket/13880-fix-master
...
PHPBB3-13880
2015-06-27 04:34:12 +02:00
JoshyPHP
ae2237f640
[ticket/13880] Replaced the quote regexp to allow brackets
...
This matches the regexp used in bbcode::bbcode_cache_init()
PHPBB3-13880
2015-06-27 04:25:54 +02:00
JoshyPHP
817db2f135
[ticket/13880] Automatically remove quotes that are nested too deep
...
PHPBB3-13880
2015-06-27 02:52:26 +02:00
Tristan Darricau
6bcf12a558
Merge pull request #3618 from marc1706/ticket/13832
...
[ticket/13832] Use preg_replace_callback instead of /e modifier
2015-06-24 16:36:15 +02:00
Joas Schilling
95b3b4605a
Merge branch '3.1.x'
2015-05-28 10:49:45 +02:00
Nicofuma
15bec23770
Merge pull request #3578 from s9e/ticket/13801
...
[ticket/13801] Remove user dependency from text_formatter.s9e.parser
2015-05-20 00:02:41 +02:00
Marc Alexander
358c634153
[ticket/13832] Remove unused global from bbcode_init()
...
PHPBB3-13832
2015-05-19 17:26:01 +02:00
Marc Alexander
5796584611
[ticket/13832] Fix code sniffer errors in message_parser.php
...
PHPBB3-13832
2015-05-19 14:15:37 +02:00
Marc Alexander
1494c54803
[ticket/13832] Do not use e modifier for bbcodes in message_parser
...
PHPBB3-13832
2015-05-18 21:43:25 +02:00
Marc Alexander
2911c01683
[ticket/13832] Remove e modifier from bold bbcode
...
PHPBB3-13832
2015-05-18 19:03:25 +02:00
Marc Alexander
8a5c0965d3
[ticket/13832] Allow callables for matching bbcodes
...
PHPBB3-13832
2015-05-18 19:02:49 +02:00
Marc Alexander
1076b562dd
[ticket/13832] Do not use e modifier in message_parser
...
PHPBB3-13832
2015-05-18 17:59:21 +02:00
JoshyPHP
c1777f4811
[ticket/11530] Remove extra quotes when depth limit is exceeded
...
PHPBB3-11530
2015-05-18 03:57:48 +02:00
JoshyPHP
7b552152b4
[ticket/13801] Updated comments for clarity
...
PHPBB3-13801
2015-05-18 02:58:33 +02:00
JoshyPHP
deadc06652
[ticket/13801] Removed user dependency from text_formatter.s9e.parser
...
PHPBB3-13801
2015-05-18 02:58:33 +02:00
rxu
aa1b427e45
[ticket/13648] Allow extensions using custom bbcode validation methods
...
PHPBB3-13648
2015-05-07 22:01:10 +07:00
Tristan Darricau
734b89e75c
Merge pull request #3524 from marc1706/ticket/8672
...
[ticket/8672] Add class for retrieving imagesize without download
2015-04-27 16:26:40 +02:00
JoshyPHP
25acba2259
[ticket/12745] Added support for Unicode characters outside BMP
...
PHPBB3-12745
2015-04-25 23:43:32 +02:00
Marc Alexander
39d6180c68
[ticket/8672] Use fastImageSize in classes
...
PHPBB3-8672
2015-04-24 13:33:14 +02:00