RSS feeds incompatible with extjs-viewport1 skin

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/27/2008 6:38:40 PM
Gravatar
Total Posts 45

RSS feeds incompatible with extjs-viewport1 skin

When viewing a mojo page with an RSS feed module from a site using the extjs-viewport1 skin, there is a javascript error on line 15971 of ext-all-debug.js. This is a serious error since it doesn't even allow the rest of the page to render. I get an "Operation aborted" messagebox in IE7 and then the "Internet Explorer cannot display the webpage" message. This error occurs in IE7 but not in Firefox.

8/27/2008 6:44:59 PM
Gravatar
Total Posts 45

Re: RSS feeds incompatible with extjs-viewport1 skin

I created an RSS Test page on the mojo demo site and set the skin extjs-viewport1. The page will crash when viewed in IE7.

8/27/2008 6:57:18 PM
Gravatar
Total Posts 45

Re: RSS feeds incompatible with extjs-viewport1 skin

One workaround is to show headings only.

8/28/2008 6:33:06 AM
Gravatar
Total Posts 18439

Re: RSS feeds incompatible with extjs-viewport1 skin

I confirm this bug. I hacked around this morning some with the ExtJs code trying to fix it but wasn't successful. Its some interaction between ExtJs and NeatHtml (which protects against cross site scripting)

If I remove NeatHtml from RSSAggregator.ascx it also fixes it, but then you are not protected if there is malicious content coming in from the feed.

To see what I mean change this:

<NeatHtml:UntrustedContent ID="UntrustedContent1" runat="server" TrustedImageUrlPattern='<%# allowedImageUrlRegexPattern %>'
ClientScriptUrl="~/ClientScript/NeatHtml.js" Visible='<%# ShowItemDetail %>'>
<%# DataBinder.Eval(Container, "DataItem.Description").ToString() %>
</NeatHtml:UntrustedContent>

to this:

<%# DataBinder.Eval(Container, "DataItem.Description").ToString() %>

and it works.

Strangely, forumthreadview.aspx also uses NeatHtml but it doesn't throw this error. Apparently there was a report for a similar error in ForumThreadView.aspx back in June. According to the thread I fixed it there but I can't remember for the life of me what the problem was or how I fixed it and comparing the code in both places doesn't reveal anything different that I can see.

I consider the extjs-viewport1 skin kind of experimental

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.