Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Where did the +-sign go?

www.cryer.info
Managed Newsgroup Archive

Re: Where did the +-sign go?

Subject:Re: Where did the +-sign go?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 31 Oct 2007 15:54:38

"José Montebarra" <Jose.Montebarra@MontebarraLtd.uk> wrote in message
news:4728f980$1@newsgroups.borland.com...

> I guess it has something to do with "+" being a special character
> in html

Not in HTML, but in HTTP itself.

> am I supposed to specify some header in my request(using
> TIdHttp) to get the web-app to understand that in my case
> "+" is ment to be "+" ?

No.  You can't use "+" as "+" (or any other reserved character unencoded) to
begin with.  Have a look at the TIdURI class to help you encode your strings
before sending them.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive