File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ <h1>Changelog</h1>
9494 < li > [Fix] Quote bbcode fixes. Letting parse quote="[" and re-allowing whitelisted bbcodes within username portion (Bug #14770)</ li >
9595 < li > [Sec] Fix bbcode helpline display for custom bbcodes - this requires style changes for any custom style (Bug #14850)</ li >
9696 < li > [Fix] Correctly count announcements when filtering forums by date (Bug #14877)</ li >
97+ < li > [Fix] Allow charset names containing underscores or spaces</ li >
9798 </ ul >
9899
99100 < a name ="v30rc6 "> </ a > < h3 > 1.ii. Changes since 3.0.RC6</ h3 >
Original file line number Diff line number Diff line change @@ -768,7 +768,7 @@ function utf8_recode($string, $encoding)
768768 }
769769
770770 // If nothing works, check if we have a custom transcoder available
771- if (!preg_match ('#^[a-z0-9 \\-]+$# ' , $ encoding ))
771+ if (!preg_match ('#^[a-z0-9_ \\-]+$# ' , $ encoding ))
772772 {
773773 // Make sure the encoding name is alphanumeric, we don't want it to be abused into loading arbitrary files
774774 trigger_error ('Unknown encoding: ' . $ encoding , E_USER_ERROR );
You can’t perform that action at this time.
0 commit comments