Hello FPC-Pascal,
Wednesday, May 25, 2011, 8:33:57 AM, you wrote:
>> "<"
i> I'm not sure what you mean here.
That's an already escaped html. Let it be a mini htmlpage:
-<-
i> If you have already html entities you should not escape them. If you do not
i> have html entities you should esca
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
On Tue, May 24, 2011 at 12:21, José Mejuto wrote:
> Hello FPC-Pascal,
>
> Tuesday, May 24, 2011, 10:09:03 AM, you wrote:
>
> i> I've created a patch with the Escape and unEscape functions, and place
> it
> i> here: http://bugs.freepascal.org/view.php?id=19407
>
> Un/escapeHTML parsing must be in
Hello FPC-Pascal,
Tuesday, May 24, 2011, 10:09:03 AM, you wrote:
i> I've created a patch with the Escape and unEscape functions, and place it
i> here: http://bugs.freepascal.org/view.php?id=19407
Un/escapeHTML parsing must be in one go, specially the "&" one. Test against:
"<"
Right unescap
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
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
_
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
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
Hello,
Does fpWeb have any method/function that escape and un-escape html and URI
elements ?
Thanks,
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
___
fpc-pascal maillist - fpc-pascal@lists.freep