in reply to Re: run script in taint mode
in thread run script in taint mode

I c/p your code and I replaced the path and with my xml-file and ran it from the command line

and I get the following error.
Content-Type: text/plain Name contains invalid start character: '<'

I think it might has something to do with the data in the XML , but how should I untaint the data ?

Replies are listed 'Best First'.
Re^3: run script in taint mode
by snowhare (Friar) on Oct 23, 2005 at 15:59 UTC
    That doesn't sound like a taint error. It sounds like bad XML. That code value is a 'left arrow' (<). You might get an error like that if somewhere in your data you had something like '<<something '. Does my script work if you turn off 'taint'? If it does, then the next thing I would look for is something like an external entity in a DTD that is trying to import a file with a '<' character in the name....