MyBB Community Forums

Full Version: Special characters in setting render PHP warning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ACP > Show Thread Options > Maximum Avatar Dimensions in Posts


Using a special character (e.g !"£$%^&*) in this field renders a PHP warning. I was also able to use the following to adjust the css:

" style="border: 1em solid green";


IMO even though it's done in the ACP, this still isn't the intended behaviour.
There is a patch already proposed, hope this will minimize the issue as validations are in place.
https://github.com/mybb/mybb/pull/3358
(2018-07-24, 10:06 AM)effone Wrote: [ -> ]There is a patch already proposed, hope this will minimize the issue as validations are in place.
https://github.com/mybb/mybb/pull/3358

Aah thanks effone. Didn't see that fix when I was looking.