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

MakeURLsAbsolute IE Bug

3 Answers 38 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Amey
Top achievements
Rank 1
Amey asked on 19 Jul 2010, 04:45 PM
Hello,

We have discovered what appears to be a bug when using the MakeUrlsAbsolute=true content fitler.

If you go to your demo page in IE8:

I tried on demos.telerik.com, and it removed the first javascript if I set MakeUrlsAbsolute =true.  It appears that it is stripping out Javascript entirely.

http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx

set ONLY the follow 3 properties =true:

EncodeScripts=true

MakeUrlsAbsolute=true

ConvertToXhtml=true

Click Set Built-In_Filters button, then paste the following js in the body.

<script type="text/javascript">
function OnClientLoad(editor, args)
{
   editor.get_filtersManager().add(new MyFilter());
}
</script>
  
SOME RANDOM TEXT (NON-JS)
  
 <script type="text/javascript">
function OnClientLoad(editor, args)
{
   editor.get_filtersManager().add(new MyFilter());
}
</script>
 

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 22 Jul 2010, 02:22 PM
Hi Christian,

We are aware of this problem and will try to fix it for one of the upcoming releases. For the time being, in order to avoid this problem I suggest you to insert a &nbsp; before the first <script>. 

Greetings,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tim
Top achievements
Rank 1
answered on 02 Nov 2010, 07:54 PM
Has this bug been fixed yet as I am still getting it in version 2010.2.929.20?

Thanks.

Tim
0
Rumen
Telerik team
answered on 03 Nov 2010, 07:19 PM
Hello Tim Butcher,

Yes, the problem should be fixed in version 2010.2.929.20.
I was unable to reproduce the problem in the live demos which uses the latest version of RadEditor. You can see my test at http://screencast.com/t/3VRFIZASgrmj.

Greetings,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Amey
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Tim
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or