RE : [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-25 Thread Ludo Brands
freepascal.org] De la part de ik Envoyé : mardi 24 mai 2011 10:09 À : FPC-Pascal users discussions Objet : Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements On Tue, May 24, 2011 at 00:28, ik wrote: On Tue, May 24, 2011 at 00:23, Michael Van Canneyt wrote: On Tue, 24 May 2

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-24 Thread ik
On Tue, May 24, 2011 at 00:28, ik wrote: > > > > On Tue, May 24, 2011 at 00:23, Michael Van Canneyt > wrote: > >> >> >> On Tue, 24 May 2011, ik wrote: >> >> Hello, >>> >>> Does fpWeb have any method/function that escape and un-escape html and >>> URI elements ? >>> >> >> Yes. >> >> in fphttpcli

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread ABorka
Hello, Does fpWeb have any method/function that escape and un-escape html and URI elements ? Thanks, Ido There are Function HTTPDecode(const AStr: String): String; Function HTTPEncode(const AStr: String): String; in unit httpdefs.pp of fcl-web. AB _

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread ik
On Tue, May 24, 2011 at 00:23, Michael Van Canneyt wrote: > > > On Tue, 24 May 2011, ik wrote: > > Hello, >> >> Does fpWeb have any method/function that escape and un-escape html and URI >> elements ? >> > > Yes. > > in fphttpclient: > > Function EncodeURLElement(S : String) : String; > Function

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread Michael Van Canneyt
On Tue, 24 May 2011, ik wrote: Hello, Does fpWeb have any method/function that escape and un-escape html and URI elements ? Yes. in fphttpclient: Function EncodeURLElement(S : String) : String; Function DecodeURLElement(Const S : String) : String; We should maybe move them to URIParser