* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
when removing the querystring from the url.
svn path=/trunk/mcs/; revision=151754
+2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
+ when removing the querystring from the url.
+
2009-10-16 Miguel de Icaza <miguel@novell.com>
* ServerType.cs: Do not use Activator.CreateInstance, use the call
public SoapDocumentationHandler (Type type, HttpContext context): base (type)
{
_url = context.Request.Url.ToString();
- int i = _url.LastIndexOf ('?');
+ int i = _url.IndexOf ('?');
if (i != -1) _url = _url.Substring (0,i);
_typeStubInfo = (SoapTypeStubInfo) TypeStubManager.GetTypeStub (ServiceType, "Soap");