I'm facing a nasty problem with Wiki lists in MOSS 2007. I managed to create a custom functionality for the Wiki list which allows our users to insert business images into the Wiki page. So actually I programmed the functionality to insert inline images
(base64 encoded) into the SharePoint HTML editor. So far so good but on server side when the list item is saved, it seems there is some kind of HTML validator or something which removes the entire "src" attribute probably because it's value is not an URL but
something like ""data:image/Png;base64, here goes base64 string of the image". Also some custom attributes for HTML elements are removed during this interesting validation/filtering...So if I have some custom attribute for an "img" html element, the attribute
is removed on server side when the item is saved.
This strange behavioral is only for wiki lists but if I have a custom list with the MultiLineText field (with rich text mode enabled) my base64 src for images are not removed.
Does anyone have any idea how can I disable that server validator/filter? I even checked with reflector but couldn't find any helpful information.
In my opinion this is a SharePoint bug since base64 inline images are supported by IE8...
View Complete Post