This is a migrated thread and some comments may be shown as answers.

Problem using AntiXssEncoder as default encoder

1 Answer 130 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Mick
Top achievements
Rank 1
Mick asked on 21 Oct 2012, 11:24 PM
I'm using Telerik ASP.NET AJAX controls (ver. 2010.2.929.40).  When I use the AntiXssEncoder as the default encoder...

    <httpRuntime encoderType="Microsoft.Security.Application.AntiXssEncoder, AntiXssLibrary" />

The links on the radtabstrip controls in our application get rendered with %23 instead of # as the hyperlink....

i.e.
With AntiXssLibrary

<a class="rtsLink rtsAfter" href="%23"> 

Instead of without the AntiXssLibrary...

<a class="rtsLink rtsAfter" href="#">

Clicking on the first link results in a 404 error page.

Is there a solution for this problem? 

1 Answer, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 06 Jun 2013, 08:25 PM
I actually found a solution to this problem. I wrote it to handle the same issue with Kendo UI (another Telerik product) but the solution is not product specific.

You can find a Gist with the solution here. Please don't hesitate to ask if you have any questions.

Robert McLaws
CTO and co-founder, AdvancedREI.com
Tags
TabStrip
Asked by
Mick
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Share this question
or