Im using Umbraco 6.1.4 (Just upgraded from 6.1.0 to see if it will solve the bug)
and for some reason when I;m rendering RTE via Macroscript It will give the following error:
A potentially dangerous Request.Path value was detected from the client (:).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]
System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +12618987
System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +166
What does the content from the rich text editor look like? And is it the rich text editor you're using? Usually this can happens when code is entered into a textbox but usually Umbraco handles this very well so this seems a bit odd.
Im just adding simple link to a node in the tree. Its work fine when its on a view (i.e @CurrentPage.text) but @Model.text or @Html.Raw(Model.text) is not working.
in the href link i get the node id rather than the url.
Render RTE on MacroScript - Error in links
Hi there,
Im using Umbraco 6.1.4 (Just upgraded from 6.1.0 to see if it will solve the bug)
and for some reason when I;m rendering RTE via Macroscript It will give the following error:
A potentially dangerous Request.Path value was detected from the client (:).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
It will not change the node id to link.
Any idea?
Regards,
mkarti
Hi mkarti
What does the content from the rich text editor look like? And is it the rich text editor you're using? Usually this can happens when code is entered into a textbox but usually Umbraco handles this very well so this seems a bit odd.
/Jan
Hi Jan,
Many thanks for your reply.
Yes Im using the standard Rich text editor.
Im just adding simple link to a node in the tree. Its work fine when its on a view (i.e @CurrentPage.text) but @Model.text or @Html.Raw(Model.text) is not working.
in the href link i get the node id rather than the url.
Regards,
mkariti
Update:
Now noticed that the node.getproperty("name").Value is doing the same on both, view and Macroscript files.
mkariti
is working on a reply...