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

Tweak for Magic Addon

I replaced this on line 15 —

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

With:
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.

Tagged:
Sign In or Register to comment.