All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #68 (new defect)

Opened 9 years ago

Last modified 8 years ago

PageContainer does not support & in PageName

Reported by: tore.gjerdrum@… Owned by: david.wahl@…
Priority: major Component: PageContainer
Keywords: Cc:



In PageContainerService.aspx the line
Response.Write("<" + page.Property[i].Name + ">" + page.Property[i].Value + "</" + page.Property[i].Name + ">"); does not support & being used in PageName.

If you fix this bug, maybe you should fix this to:
PageData page = EPiServer.Global.EPDataFactory.GetPage(new PageReference(int.Parse(id)), EPiServer.Security.AccessControlList.NoAccess);
EPiServer.Global.EPDataFactory.GetPage is obsolete and should be replaced with DataFactory.Instance.GetPage.
EPiServer.Security.AccessControlList.NoAccess is also obsolete and should be replaced with EPiServer.Security.AccessLevel.NoAccess.

Change History

comment:1 Changed 8 years ago by filip@…


This one works:

if (page.Property[i].Name == "PageName")

  Response.Write("<" + page.Property[i].Name + ">" + HttpUtility.[wiki:HtmlEncode](page.Property[i].Value.[wiki:ToString]()) + "</" + page.Property[i].Name + ">");


  Response.Write("<" + page.Property[i].Name + ">" + page.Property[i].Value + "</" + page.Property[i].Name + ">");


Note: See HelpUser/Tickets for help on using tickets.