2019-06-14, 04:24 PM
(2019-06-14, 03:27 PM)Devilshakerz Wrote: It's easier for such issues to slip in, given they're not documented as official features that MyBB supports (like drag & drop and pasting images).
Original image URLs, instead of data URIs, would be one of many peculiarities that users may take advantage of in MyBB - some may be unknown to developers, or outright classified as bugs rather than features (similar example: https://github.com/mybb/mybb/issues/3383 - undocumented HTML support in security questions → HTML disabled → something breaks, which gets reported → MyCode support added, addressing main problem).
If you're looking for a quick fix, addingfalse&&
to the
condition, which would becomeif(yt.FileReader&&s&&kt.test(s[c].type))
in the minified /jscripts/sceditor/jquery.sceditor.bbcode.min.js file may revert this change.if(false&&yt.FileReader&&s&&kt.test(s[c].type))
This doesn't solve this bug,just tried it with your solution.