Forum posts: images with brackets in name vanished by NeatHTML

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/4/2014 6:39:08 AM
Gravatar
Total Posts 115

Forum posts: images with brackets in name vanished by NeatHTML

If you embed an image with brackets in the file name e.g. bbtoverview-(test).jpg in a forum post, the image doesn't display as the html has been mangled:

<p><img alt="" src_NeatHtmlReplace="/Data/Sites/277/media/bbtoverview-(test).jpg" style="width: 550px; height: 331px;" /></p>

Replicated in the forums on the demo site.

5/7/2014 12:53:54 AM
Gravatar
Total Posts 503
feet planted firmly on the ground

Re: Forum posts: images with brackets in name vanished by NeatHTML

Just bringing this issue back to the top of the list as it keeps on biting us. I'm not sure why users are using images with brackets in their names so much recently, but I cannot make them stop!

Perhaps the issue is in 3rd party code? I couldn't find an active project for NeatHTML...?

5/7/2014 10:43:33 AM
Gravatar
Total Posts 18444

Re: Forum posts: images with brackets in name vanished by NeatHTML

For the next release I will make it remove brackets on upload as we remove other characters from uploaded files and images.

I don't intend to modify NeatHtml restrictions as it could have unintended results.

Note that if you mark a user as Trusted in user management then it bypasses neathtml in rendering forum posts by that user so nothing is restricted in that case.

You must sign in to post in the forums. This thread is closed to new posts.