Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Error embedding html into video upload
pspeirs
#1 Posted : Tuesday, 24 January 2012 4:15:57 AM(UTC)
Rank: Member

Joined: 6/01/2011(UTC)
Posts: 20

Hi,

I'm getting the following error on v2.6 when trying to add a video code snippet. Is there an easy way to fix this as it doesn't seem to be related to the "Allow external content" flag setting.


Regards,

Paul


Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. For more information, see http://go.microsoft.com/fwlink/?LinkId=153133.



<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/Zpto6kUMkpw?version=3&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Zpto6kUMkpw?version=3&amp;hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Roger Martin
#2 Posted : Tuesday, 24 January 2012 10:13:32 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

As described in the error message, your web.config needs requestValidationMode set to 2.0. The web.config that ships with GSP has this setting, so refer to it for an example.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.