[Mono-devel-list] UriBuilder patch

Juraj Skripsky js at hotfeet.ch
Sun Sep 14 08:23:59 EDT 2003


UriBuilder.Query set: Make it more consistent with the getter by
trimming excessive '?'s off the start.

This allows for the following code

UriBuilder ub = new
UriBuilder("http://www.test.com/index.aspx?first=0");
ub.Query += "&second=0";

to result in the Uri "http://www.test.com/index.aspx?first=0&second=0"
instead of "http://www.test.com/index.aspx??first=0&second=0".

---
Juraj Skripsky <juraj at hotfeet.ch>
HotFeet - developing the web
Technopark Zurich
Switzerland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UriBuilder.diff
Type: text/x-patch
Size: 598 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030914/42ea2296/attachment.bin 


More information about the Mono-devel-list mailing list