Actually, the sequence used as delimiter for CGI fields is "\t".
I think this is not the best choice, cause having a tabulation
into a field content is always possible (cut & paste, file upload...).

Why not allowing the user to choose the more appropriate
delimiter, through a ENV var ?

# delimiter = \0
PerlSetEnv EMBPERL_FIELDS_DELIMITER 0x00

# delimiter = HT
PerlSetEnv EMBPERL_FIELDS_DELIMITER 0x09

# delimiter = none : use array ref instead for multiple values
PerlSetEnv EMBPERL_FIELDS_DELIMITER ARRAY_REF

Of course, this delimiter would default to "\t", for backward
compatibility.

Is this relevant or not ?

______________________________________
Jean-Philippe FAUVELLE  
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Responsable du Pole de Developpement Unix/Web
Departement Developpement Applicatif
France Telecom Hosting
40 rue Gabriel Crie, 92245 Malakoff Cedex, France    
[http://www.fth.net/] [+33 (0) 1 46 12 67 89]


Reply via email to