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

ik idokan at gmail.com
Tue May 24 10:09:03 CEST 2011


On Tue, May 24, 2011 at 00:28, ik <idokan at gmail.com> wrote:

>
>
>
> On Tue, May 24, 2011 at 00:23, Michael Van Canneyt <michael at freepascal.org
> > 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 DecodeURLElement(Const S : String) : String;
>>
>> We should maybe move them to URIParser or maybe even strutils.
>>
>
> I can not find any HTML encode and decode, I'll make one and open a bug
> with the patches.
> Where do you think it will be best to place it (I mean the unit) ?
>

I've created a patch with the Escape and unEscape functions, and place it
here: http://bugs.freepascal.org/view.php?id=19407


>
>
>>
>> Michael.
>>
>
> Thanks,
>
> Ido
>
>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110524/9b9c8e66/attachment.html>


More information about the fpc-pascal mailing list