﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - HTTP</title><link>http://www.intersoftsolutions.com/Community/Tags/HTTP/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to avoid XML in WebGrid's AJAX postback?</title><link>http://www.intersoftsolutions.com/Community/Tags/HTTP/</link><pubDate>Thu, 25 Nov 2010 11:24:49 GMT</pubDate><dc:creator>Eric</dc:creator><category>WebGrid</category><category>Filter</category><category>AJAX</category><category>postback</category><category>input validation</category><category>IV</category><category>POST</category><category>HTTP</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We use the latest version of WebGrid 6.&lt;/p&gt;
&lt;p&gt;In our server infrastructure there are some servers in front of our IIS. These servers do input validation to prevent cross site scripting attacks. I have no control on what is filtered there, but I received a blocking log.&lt;/p&gt;
&lt;p&gt;The problem is that anything that looks like XML will be blocked. A string like:&lt;/p&gt;
&lt;pre&gt;" abc = … &amp;gt;&lt;/pre&gt;

&lt;p&gt;anywhere in a POST data field will be blocked. And I found a blocked (AJAX?) POST request, looking like it came from WebGrid.&lt;/p&gt;
&lt;p&gt;Interestingly our application works - including all WebGrid functionality. But we do see some problems.&lt;/p&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Does your WebGrid support such industry-standard high security environments in general?&lt;/li&gt;&lt;li&gt;Is there a way to avoid XML data in POST fields?&lt;/li&gt;&lt;li&gt;Is there a known bug in data encoding?&lt;/li&gt;&lt;li&gt;Do these AJAX postbacks have a special HTTP header field that could be used to distinguish if this is a special postback and not a standard form post? If yes, maybe the input validation can be disabled (or relaxed) for such requests.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;It would be great if you could answer these four questions.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item></channel></rss>