|
|
| version 1.63, 2001/10/29 17:49:57 | version 1.64, 2001/10/31 14:01:44 |
|---|---|
| Line 271 static void _exec_cgi(Request& r, const | Line 271 static void _exec_cgi(Request& r, const |
| } | } |
| } | } |
| // body | // body |
| self.set(false/*not tainted*/, body->cstr(String::UL_AS_IS), body->size()); | self.set(false/*not tainted*/, body->cstr(), body->size()); |
| // $status | // $status |
| self.fields().put( | self.fields().put( |
| Line 306 static void _list(Request& r, const Stri | Line 306 static void _list(Request& r, const Stri |
| if(params->size()>1) { | if(params->size()>1) { |
| regexp=¶ms->as_no_junction(1, "regexp must not be code").as_string(); | regexp=¶ms->as_no_junction(1, "regexp must not be code").as_string(); |
| const char *pattern=regexp->cstr(String::UL_AS_IS); | const char *pattern=regexp->cstr(); |
| const char *errptr; | const char *errptr; |
| int erroffset; | int erroffset; |
| regexp_code=pcre_compile(pattern, PCRE_EXTRA | PCRE_DOTALL, | regexp_code=pcre_compile(pattern, PCRE_EXTRA | PCRE_DOTALL, |