This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > May 2004 > Bug in XmlUrlResolver in .NET Framework 1.1





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug in XmlUrlResolver in .NET Framework 1.1
sena

2004-05-20, 7:34 pm

The class XmlUrlResolver has a bug in the .NET Framework 1.1.
If you use (directly or indirectly) the method GetEntity of this class on a URL which points to either the 'localhost', 'loopback' or '127.0.0.1' you should get a ArgumentOutOfRange exception. This is because of an unchecked integer adddition which causes
it slip to a negative number.


Workaround: Do not reolve localhost URLs.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews