On 27 Mar 2012, at 18:07, Igor Stasenko wrote:
The problem is in FileUrl, which is related to different path encoding scheme on windows (use drive letter(s), and back slashes instead of normal ones).. i'm not sure if Zinc can help there, because its urls mostly for http.. if i'm not mistaken.
Yes, ZnUrl is HTTP(S) specific and does not include a number of aspect that are in URL like uername and password. File URLs (http://en.wikipedia.org/wiki/File_URI_scheme) are more complicated because of platform differences, the way things seem to be on Windows is a bit scary, for me at least. Cleaning up and/or unifying the URL/URI mess would be a nice project.
No so simple I know but...
Le 27 mars 2012 17:18, "Marcus Denker" <marcus.denker@inria.fr> a écrit :
On Mar 27, 2012, at 4:05 PM, Igor Stasenko wrote:
Try:
(FileDirectory default / 'foo') asUrl retrieveContents
Yes, we need to really do a pass over the Url... there is Url (from old Squeak). The there is URI, a package from Impara that we wanted to replace Url in Squeak 3.9 but development stopped when Impara could not contribute to Squeak anymore (due to politics...).
Then there is ZnUrl...
Definitly needs cleanup. We need one model for Url that works.
Marcus
-- Marcus Denker -- http://marcusdenker.de