mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Fix for "vulnerability emailed to dev team..."
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2543 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
eee349ac19
commit
ae1c52199f
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ function bbencode_first_pass($text, $uid)
|
|||
$text = preg_replace("#\[i\](.*?)\[/i\]#si", "[i:$uid]\\1[/i:$uid]", $text);
|
||||
|
||||
// [img]image_url_here[/img] code..
|
||||
$text = preg_replace("#\[img\](([a-z]+?)://([^ \n\r]+?))\[/img\]#si", "[img:$uid]\\1[/img:$uid]", $text);
|
||||
$text = preg_replace("#\[img\](([a-z]+?)://([^ \"\n\r]+?))\[/img\]#si", "[img:$uid]\\1[/img:$uid]", $text);
|
||||
|
||||
// Remove our padding from the string..
|
||||
$text = substr($text, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue