HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Tweak for Magic Addon

I replaced this on line 15 —

private $RegularImg = '/((http|ftp)\:\/\/)?([A-Za-z0-9\-\_\.]+)([\/\-\_A-Za-z0-9]+)?(\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF))/';

private $RegularImg = '/((http|ftp)\:\/\/)?([A-Za-z0-9\-\_\.]+)([\/\%\-\_A-Za-z0-9]+)?(\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF))/';

It seemed to fix the problem with images not appearing when containing a % sign. Not sure if this is kosher, but it works for me.

Sign In or Register to comment.