> Forums > Active Social > Community Support > Private Message Encoding IMG tags and changing display
Last Post 18 Jul 2011 09:02 AM by Ben - DotNetNuke. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Steven Webster
Customers
Steven Webster
Post Count:1665

--
15 Jul 2011 07:12 PM
    • Active Social Version: 1.9.3
    • DotNetNuke Version: 5.5.1
    I've duplicated this in production and on a local clean install.  We've received some reports from a  user that images they have saved using the core editor (telerik in this case) when writing a PM are not showing up in the notification email or on the recipient's view of the PM.  (we have rich text enabled for PMs)

    In looking further at the issue it appears that AS is changing the Body of the message somehow.  It appears that AS is encoding the body, but things are getting mixed up in the save process.  A SQL trace confirmed that the garbled encode is what is being passed into the stored procedure.

    Breaking down what I've found:
    <!--[if gte mso 9]> Normal 0 false false false EN-US X-NONE X-NONE verrideTableStyleHps/> MicrosoftInternetExplorer4 <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} </style> It seems to taking a simple image tag like this:

     

    Saves in DB as this:

    "" 

    Which renders on the recipient’s Private Message (and email notification) like this:

    Obviously, not good.  AFAIR These worked prior to 1.9.3. 
    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    18 Jul 2011 09:02 AM
    Can't see your examples. Make sure you use the code blocks.
    You are not authorized to post a reply.
    > Forums > Active Social > Community Support > Private Message Encoding IMG tags and changing display
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy