Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] escape characters in a cgi parameter
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: amata@t...
Subject: [Caml-list] escape characters in a cgi parameter


  Hi list.

  I´m using the CGI library in order to receive arguments in a CGI 
application. I use the function "parse_arguments" for parse the CGI 
arguments. 

  My problem is; when I receive the cgi parameters, if one of the 
parameters include one of this characters: = or & the function 
parse_arguments returns one exception. I must escape the characters = 
and &, but how can I do that? Anybody knows how to escape characters 
in a cgi parameter? 

   Thank you very much.


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners