Hello all

I'm trying an HTTP-Get software but I found that UrlEncode (from IcsUrl.pas)
is not working according the protocol.

UrlEncode simply encodes all the URL without taking care of (parse)
Protocol, Folders, File and Data.

Example:

http : // user:[EMAIL PROTECTED] site .com:80/fol 1/fol 2/file 1.jpg?par=1#name

This URL must be encoded as:

http : // www. site .com/fol%201/fol%202/file%201.jpg?par=1

but UrlEncode just makes:

http%3A%2F%2Fuser%3Apass%40www%2Esite%2Ecom%3A80%2Ffol%201%2Ffol%202%2Ffile%201%2Ejpg%3Fpar%3D1%23name

Obviously I cannot use the URL without encoding,  but I cannot use the
encode function provided.

Any idea?
Thanks,

David

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to