Error on ForumPostEdit.aspx

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/24/2007 5:20:41 AM
Gravatar
Total Posts 23

Error on ForumPostEdit.aspx

Error while trying to add a new topic for a forum.

It occurs when i have typed in content and hit the enter key.

The rendered content then has <p> tags and when that content is the value for a particular text box or container.

iget the message.

A potentially dangerous Request.Form value was detected from the client.

A potentially dangerous Request.Form value was detected from the client (ctl00$mainContent$fckMessage="<p>Test test</p>
<p...").

5/24/2007 11:44:57 AM
Gravatar
Total Posts 18439

Re: Error on ForumPostEdit.aspx

I am not able to replicate that error here. That error typically happens when posting back a form element containing markup when validateRequest=true. This is a common issue with using any html editor in a page.

Since the mojoPortal web.config has <pages validateRequest="false"... then I suspect you have changed this and that is why the error is happening for you.

Hope it helps,

Joe

3/30/2010 6:04:45 AM
Gravatar
Total Posts 3

Re: Error on ForumPostEdit.aspx

Hi all-

to bring it working just add to Web.config"

<httpRuntime requestValidationMode="2.0"/>
 

Regards,

Martin

 

9/29/2010 9:53:27 AM
Gravatar
Total Posts 108

Re: Error on ForumPostEdit.aspx

I also had this just now on a fresh install of version 2.3.4.3 MSSQL on a shared hosting environment.

Martors fix worked, cheers mate.

ps when viewing on chrome after a fresh install i noticed the home link in the main menu is too far to the left and over hangs the page content on chrome 6.0.472.63

9/29/2010 10:05:07 AM
Gravatar
Total Posts 18439

Re: Error on ForumPostEdit.aspx

I hope you really meant you installed 2.3.5.3 not 2.3.4.3 that version is not secure

http://www.mojoportal.com/mojoportal-2352-released.aspx

http://www.mojoportal.com/mojoportal-2353-released.aspx

that Web.config setting already exists in the Web.config that ships with .NET 4 versions of mojoPortal and is only needed under .NET 4.

I use Chrome all the time and do not see any problems with the default skin styleshout-refresh

9/29/2010 11:30:34 AM
Gravatar
Total Posts 108

Re: Error on ForumPostEdit.aspx

aggghhh i didnt see this :(

Can i ask why users are allowed to download a version of mojoportal that has security flaws? wouldnt it be best to take it off altogether?

Thanks for giving me the heads up, shall get my hosting company to install the latest one.

Cheers

Tim

9/29/2010 1:12:28 PM
Gravatar
Total Posts 18439

Re: Error on ForumPostEdit.aspx

Our download page always points to the latest version, but anyone can choose to download any older version, codeplex keeps history and we don't ever remove old versions from history.

In this case it is more likely that your host downloaded it to their own server back when that was the new release.

You should consider subscribing to the mojoportal blog, newsletter, and/or developer forums so you will know when new releases are made or important security updates are made available. This is only like the 3rd security fix ever in the history of the project since 2004, so it is not a frequent thing, but it is best to stay informed about new releases. 

Best,

Joe

9/29/2010 1:36:59 PM
Gravatar
Total Posts 108

Re: Error on ForumPostEdit.aspx

Yep its very unusual i agree, I didnt think there would be releases available to download that had security flaws.  

I do get the updates, just been frantically busy to read them so totally my fault. Lesson learn't :)

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