Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Uri class.

Moderators: kris

Posted: 06/23/08 00:49:35

I'm not sure if this is a bug. I don't use tango but i was looking at uri because i'm creating a httpClient class with phobos. and well.. in tango's Uri class. toString produces bad output... example:

Uri myUri = new Uri(http://www.blah.com/index.php");
writfln("%s", myUri.toString());

will produce:

http://blah.com/index%2ephp

to fix it i added...

map['.'] |= IncPath;

in the constructor of Uri

-dazoe

There are no responses to display.