Article View: borland.public.cppbuilder.internet.socket
Article #2426Re: Using URLEncode
From: Hamid
Date: Tue, 11 Apr 2006 06:14
Date: Tue, 11 Apr 2006 06:14
11 lines
1507 bytes
1507 bytes
Thanx for your reply. In fact, I had a code written in BCB6.0 (Indy 8.0) and I am upgrading it to BDS2006. I am calling the Get method of the TIDHttp and I have to encode the url. In BCB6.0 an instance of TNMUrl did it which is not supported any more: nmUrl->InputString = myUrl + myParameters; encodedUrl = nmUrl->Encode; and in BDS2006 (Indy 10) I changed my code to: encodedUrl = TIdURI::URLEncode(__classid(TIdURI), "http://domain.com?text=text1 + text2"); Maybe I am selecting and using the URLEncode method mistakenly.
Technical Details
Message-ID:
<443b4951$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<443a3c6c$1@newsgroups.borland.com> <443aa3af$2@newsgroups.borland.com> <443b411a$1@newsgroups.borland.com> <443b45ea$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b5b9744a5969042d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Hamid" <hrz_mir@Yahoo.com> Sender: "Hamid" <hrz_mir@Yahoo.com> Reply-To: "Hamid" <hrz_mir@Yahoo.com> Subject: Re: Using URLEncode Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 82.99.219.37 X-Forwarded-For: 172.16.1.5 References: <443a3c6c$1@newsgroups.borland.com> <443aa3af$2@newsgroups.borland.com> <443b411a$1@newsgroups.borland.com> <443b45ea$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <443b4951$1@newsgroups.borland.com> Date: 10 Apr 2006 23:14:41 -0700 X-Trace: newsgroups.borland.com 1144736081 207.105.83.66 (10 Apr 2006 23:14:41 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail