U4-639 - Medium Trust issues with Macros in editor

Created by Sebastiaan Janssen 19 Aug 2012, 14:55:11 Updated by phil wigglesworth 19 Apr 2013, 07:42:56

The following command is not allowed in medium trust.

ServicePointManager.ServerCertificateValidationCallback

As such, the insert macro in tinymce errors.

umbraco.macro (umbraco.presentation/macro.cs), line 1475.

Options: skip rendering in medium trust (when ssl is in use). validate if ssl is in use before adding callback. or do the evil try catch.

''Originally created on CodePlex by [neehouse|http://www.codeplex.com/site/users/view/neehouse]'' on 8/6/2012 9:32:27 PM [Codeplex ID: 30977 - Codeplex Votes: 1]

Comments

Sebastiaan Janssen 26 Feb 2013, 12:22:18

Seems to work fine now, probably fixed in a later version.


phil wigglesworth 19 Apr 2013, 07:42:56

Is broken in the currently shipping download (6.03): ... System.Net.ServicePointManager.set_ServerCertificateValidationCallback(RemoteCertificateValidationCallback value) +57 umbraco.macro.MacroContentByHttp(Int32 PageID, Guid PageVersion, Hashtable attributes) +932 umbraco.presentation.tinymce3.insertMacro.renderMacro_Click(Object sender, EventArgs e) +833 ...


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: