hello all:
I am using LINQ to XML, but I think this issue is more widespread,
here's an example of what I am trying to do:
Dim testurl As String = "http://stats.enemyterritory.com/profile/
Hellfire.?xml=true"
Dim pageContents As XElement = XElement.Load(testurl)
The url in question is for a game statistics site where you can load
xml data for various players, in this case the player name has a
period
in it at the end, it's "hellfire." (another similar is "Red.")
If you take that url and plug it into a browser everything is fine,
but when I use it in the XElement Load method it drops the period, in
the case where there is a similar name without a period it returns
that page (which is the wrong one), in the case where there is no
similar name without a period it doesn't return anything.
I escaped with "%2e" and that doesn't help. Everything is fine if
there is a period in the middle of the string, it's only the one's at
the end which are an issue.
Any ideas on how to get this to work?
Thanks in advance to any who offer help.
Mike