It seems Microsoft has a bug in their ASP.NET RewritePath function.  For some reason it will generate form action tags with leading “../” if a certain user agent is used to access your site (such as the Google Bot and other search engines).  This not only generates the error but returns a 500 error to the browser.  This is also a problem only in the production code.

Oh, the number of hours I wasted trying to find this HttpException with the great description “Cannot use leading .. to exit ta above the top directory“.  I searched for hours and never code find a “..“ in any of my code or the code that VS generated!

Here is a link for more information:

http://todotnet.com/archive/0001/01/01/7472.aspx?Pending=true

 

posted on Sunday, July 16, 2006 1:31 AM
Filed Under: Web Dev/ASP.NET/C#   ** All Categories  

Comments

No comments posted yet.
Post a comment










 

Please add 3 and 3 and type the answer here: