Thanks!

Janeks,
Googling for cgi queries encoding for special chars.


On 25 Apr 2005 at 22:41, Hallvard Ystad wrote:

> 
> Dixit [EMAIL PROTECTED] (16.13 25.04.2005):
> 
> >Hi, Rebolers!
> >
> >How to get the string variable, that begins with "+" from cgi=20
> >input?
> >
> >f.ex.
> >cgi query =3D> ?phoneNo=3D+3711234567
> 
> If this was meant to be a plus when the CGI is decoded, the plus sign
> should=
>  have been CGI encoded itself:
> 
> cgi query =3D> ?phoneNo=3D%2B3711234567
> 
> When decoding CGI
> %2B yields '+'
> + yields ' ' (a space)
> 
> HY
> 
> 
> >frmdata: construct/with decode-cgi cgistr context [
> >    phoneNo: date: month: none
> >]              =20
> >probe frmdata
> >
> >phoneNo: " 3711234567"
> >
> >brgds
> >Janeks
> >
> >--=20
> >To unsubscribe from the list, just send an email to=20
> >lists at rebol.com with unsubscribe as the subject.
> 
> Pr=E6tera censeo Carthaginem esse delendam
> 
> -- 
> To unsubscribe from the list, just send an email to 
> lists at rebol.com with unsubscribe as the subject.
> 
> 



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to