1 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
3 * Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
4 escape windows path twice. Check scheme name as defined in RFC2396.
6 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
8 * Uri.cs : Reverted some changes. '#' should be handled when the input
9 string is NOT raw file path. So handle raw file paths differently.
10 (right now except for Windows UNC).
11 Cache LocalPath and don't compute every time.
13 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
15 * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
16 Some code simplification.
18 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
21 - Now Parse() is properly implemented. If overriden, the overriding
22 Parse() is used _instead of_ this class's parsing logic.
23 - AbsoluteUri does not escape URI string at all.
24 - ToString() should unescape Query. But should not unescape fragment.
25 And all all parts should be unescaped individually to keep ? and #.
26 - In relative .ctor(), handle Windows UNC as an absolute file URI.
27 - In some cases, hosts and paths were not properly escaped in
29 - Removed unused isWindowsPath.
31 * UriBuilder.cs : Fragment and Query aren't escaped when they are set.
33 2004-05-12 Dick Porter <dick@ximian.com>
35 * Uri.cs: Reduce(string) is not in the public API.
37 2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
41 2004-03-21 Jackson Harper <jackson@ximian.com>
43 * Uri.cs: Equals should be case insensitive for all parts except
46 2004-02-11 Jackson Harper <jackson@ximian.com>
48 * Uri.cs: If we are sure we have a windows path use \ instead of
49 / for directory separating.
51 2004-02-11 Jackson Harper <jackson@ximian.com>
53 * Uri.cs: If the relative uri passed to Uri (base_uri,
54 relative_uri) is an absolute uri do not combine the uris. The base
57 2004-02-10 Jackson Harper <jackson@ximian.com>
59 * Uri.cs: Preserve the trailing / if there is one when reducing
62 2004-02-08 Jackson Harper <jackson@ximian.com>
64 * Uri.cs: IsLoopback has different behavoir then
65 IPAddress::IsLoopback. It will only return true for ipv4 addresses
66 if they are 127.0.0.1, localhost, or loopback.
68 2004-02-06 Jackson Harper <jackson@ximian.com>
70 * Uri.cs: Do not escape querys or fragements. Only reduce certain
73 2004-02-06 Jackson Harper <jackson@ximian.com>
75 * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
76 method is taken from System.Web.Utils.UrlUtils.
77 * UriBuilder.cs: Do not escape fragments or queries, but do a utf8
78 switch on them. Do not prepend a "/" to Paths. Do not use
79 IPEndPoint to determine if a port is valid, UriBuilder allows
80 ports to be any positive integer, IPEndPoint does not. Use the
81 ToString () method for generate a uri in get_Uri. Only set the
82 port in ToString () if it is greater then 0.
84 2004-02-05 Jackson Harper <jackson@ximian.com>
86 * UriBuilder.cs: Do not call Uri::ToString for uri builders
87 ToString. UriBuilder's ToString is a little more primitive.
89 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
91 * Uri.cs : should not escape already-escaped string (Patch by
92 Boris Kirzner). File LocalPath should unespace return value.
93 ToString() should be unescaped only when it is not an UNC path.
94 (UNC looks not to be unescaped).
96 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
98 * Uri.cs : quick fix on local file relative uri.
100 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
102 * Uri.cs : Fixed Parse(). Should not allow relative URIs.
104 2004-01-05 Atsushi Enomoto <atsushi@ximian.com>
106 * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
107 based on MS.NET experiment.
109 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
111 * Uri.cs : more fixes. More presice UNC handling, opaque part
112 handling for non-standard uri (e.g. urn:go-mono.com), ToString()
113 fix (that returns AbsoluteUri, which is not escaped any more),
116 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
118 * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
119 fixes, null reference check for .ctor(Uri, string). This fixes
122 2003-12-04 John Luke <jluke@cfl.rr.com>
124 * Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
125 fixes bug #51510. ftp uses port 21, https uses 443 and
126 parse the host name properly for UNC path.
128 2003-10-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
130 * Uri.cs: fixed a problem with some URIs like file://some_file.txt
131 It used to return "/some_file.txt/" instead of "some_file.txt" in
132 LocalPath. Fix handling of full path files and SMB addresses.
134 2003-08-12 Duncan Mak <duncan@ximian.com>
136 * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
139 In other words, any characters after the last (right-most)
140 slash character, if any, are excluded.
142 Previously, when merging "a://foo.com/foo" with "bar", we yield
143 the result "a://foo.com/foobar", instead of the correct
146 This fixes bug #45614.
148 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
150 * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
152 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
154 * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
156 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * TempFileCollection.cs: fixed the build under windows.
160 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
161 * Uri.cs: Checked in code to fix bug #41998. Some
162 code from Ian MacLean.
164 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
166 * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
167 in Parse when host length is 0 and the Uri is not a file.
169 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
174 2003-02-01 Miguel de Icaza <miguel@ximian.com>
176 * Uri.cs (LocalPath): Local path should return un-escaped
177 strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen)
179 2002-09-16 Duncan Mak <duncan@ximian.com>
181 * Uri.cs (GetObjectData):
182 (Uri): The key should be "AbsoluteUri", not "Uri".
184 2002-09-16 Miguel de Icaza <miguel@ximian.com>
186 * Uri.cs: Implemented a few of the protected methods.
188 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
190 * Uri.cs: workaround for mcs bug.
192 2002-05-28 Lawrence Pit <loz@cable.a2000.nl>
194 * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
195 * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
197 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
199 * Uri.cs: implemented MakeRelative, improved GetLeftPart
200 * UriBuilder.cs: removed Serializable attribute
201 * UriHostNameType.cs: added Basic
203 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
205 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
208 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
210 * Uri.GetLeftPart fixed for mailto and news schemes.
212 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
214 * UriBuilder.cs: Implemented.
216 * Uri.cs: Complete new reimplementation.
218 2002-02-08 Duncan Mak <duncan@ximian.com>
220 * UriFormatException.cs: Removed TODO attribute, the docs are
221 probably wrong here. In any case, this code compiles and should work.
223 2002-01-31 Duncan Mak <duncan@ximian.com>
225 * UriFormatException.cs: Added bits for serialization.
227 2002-01-05 Ravi Pratap <ravi@ximian.com>
229 * ChangeLog : Add to this directory.
231 * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.