--- /opt/cvs/dotgnu/pnet/../pnetlib/System/Uri.cs Sun Jul 14 08:45:56 2002 +++ /tmp/dotgnu/pnet/../pnetlib/System/Uri.cs Thu Sep 5 23:44:49 2002 @@ -671,7 +671,7 @@ // there is fragment fragment = absoluteUri.Substring(nextpos + 1); } - if (nextpos == 0) + if (nextpos <= 0) path = absoluteUri.Substring(curpos); else path = absoluteUri.Substring(curpos, nextpos);