Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
When posting images in my forum the images dont get posted, they are removed from and not present in the posted result. Doesnt matter if its a new post, an answer or an edit.
Any advice where to start?
Resolved by changing in the
p.getProperty("forumPostContent").Value = Helpers.HtmlEncode(Helpers.GetSafeHtml(txtPost.Text));
to
p.getProperty("forumPostContent").Value = Helpers.GetSafeHtml(Helpers.HtmlEncode(txtPost.Text));
d.getProperty("forumPostContent").Value = Helpers.HtmlEncode(Helpers.GetSafeHtml(tbPost));
d.getProperty("forumPostContent").Value = Helpers.GetSafeHtml(Helpers.HtmlEncode(tbPost));
p.getProperty("forumPostContent").Value = Helpers.HtmlEncode(Helpers.GetSafeHtml(tbPost));
p.getProperty("forumPostContent").Value = Helpers.GetSafeHtml(Helpers.HtmlEncode(tbPost));
The Sanitizer seems a bit trippy, removing <img tags is a bit cranky in my opinion.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Img tags not posted
Hi
When posting images in my forum the images dont get posted, they are removed from and not present in the posted result. Doesnt matter if its a new post, an answer or an edit.
Any advice where to start?
Resolved by changing in the
ForumEditPost.ascx.cs
to
nForumBaseExtensions.cs
to
to
The Sanitizer seems a bit trippy, removing <img tags is a bit cranky in my opinion.
is working on a reply...