[HTML_AJAX-devel] Problem with character escaping
Laurent Yaish
laurenty at gmail.com
Wed Jul 12 13:27:56 PDT 2006
Yes, that fix is included in svn. Version 0.5.0 will use encodeURIComponent
instead of escape.
On 7/12/06, Miguel Manso <miguel.manso at nfsi.pt> wrote:
>
> The problem had already been solved in an older post:
> http://bluga.net/pipermail/html_ajax-devel/2006-June/000457.html
>
> Thanks for the good work and sorry for the wrong post.
>
> Miguel Manso
>
> -------- Original Message --------
> Subject: Problem with character escaping
> Date: Wed, 12 Jul 2006 18:06:48 +0100
> From: Miguel Manso <miguel.manso at nfsi.pt>
> To: html_ajax-devel at lists.bluga.net
>
>
>
> Hi.
>
> I need to save the following string: /^(+351)\d{9}$/
>
> I am passing it through a html form using POST and HTML_AJAX.formSubmit.
>
> When i grab the value on the PHP side through $_POST var i get: /^(
> 351)\\d{9}$/
>
> The double backslash i can understand and its easy to get rid of, but
> what i can't find a workaround is the + that just vanished...
>
> I tried the same values on normal form with PHP's $_POST and got:
> /^(+351)\\d{9}$/
> Still have the double backslash, but the + sign is still there.
>
> Am i doing something wrong or is this suppose to be like this?
>
> Thanks
>
> Miguel Manso
>
>
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://bluga.net/pipermail/html_ajax-devel/attachments/20060712/f8c0a72f/attachment.html
More information about the Html_ajax-devel
mailing list