U4-9853 - User permissions editor broken in 7.6 with YSOD

Created by Shannon Deminick 04 May 2017, 01:05:02 Updated by Sebastiaan Janssen 24 May 2017, 11:33:00

Tags: Backport PR Regression

Subtask of: U4-9609

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'System.Web.HttpRequest' does not contain a definition for 'CleanForXss' and no extension method 'CleanForXss' accepting a first argument of type 'System.Web.HttpRequest' could be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 28: jQuery(document).ready(function() { Line 29: jQuery("#<%=JTree.ClientID%>").PermissionsEditor({ Line 30: userId: <%=Request.CleanForXss("id") %>, Line 31: pPanelSelector: "#permissionsPanel", Line 32: replacePChkBoxSelector: "#chkChildPermissions"});

Source File: c:\Users\Shannon\Downloads\UmbracoCms.7.6.0\Umbraco\Users\PermissionEditor.aspx Line: 30

Show Detailed Compiler Output:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0

Comments

Shannon Deminick 04 May 2017, 01:05:24

PR: https://github.com/umbraco/Umbraco-CMS/pull/1926


Priority: Major

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.0, 7.5.14

Due in version: 7.6.1

Sprint:

Story Points:

Cycle: 1