Vulnerability in EPiServer.Forms
My problem is related to TinyMCE When I add links they modify and replace them
when I add the link_/woman/shirt
it transforms it and it appears on the web_href="/link/e4385d214413478c9d87216511071e94.aspx(when clicking on the link it redirects me to: /woman/shirt)
How can I solve this so that in the html of the resulting web it is/woman/shirt
it happens with both epi-link and link
Episerver.cms 11.20.14Episerver.cms.TinyMCE 2.13.14
in the editor settings I have:
.AddPlugin(@"epi-link epi-image-editor autolink image link media code lists textcolor wordcount imagetools colorpicker textpattern template").Toolbar("cut copy paste | epi-link | image epi-image-editor | bold italic underline strikethrough forecolor backcolor | link ", "styleselect | fontsizeselect | fontselect | custom_styleselect", "alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | code | removeformat | template")
Can someone help me with this issue?
How are you rendering the tinymce property in your view? copy/paste the code.
There's an example in the dev docs for adding a "site relative link" option in TinyMCE: https://docs.developers.optimizely.com/content-management-system/v11.0.0-cms/docs/example-extending-hyperlink-editor-descriptor
Note the comment at the bottom of that page about setting the convert_urls setting to false, to prevent TinyMCE from converting the link. Maybe just that change will get you what you need?