Skip to content
Snippets Groups Projects
Commit 095a3356 authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

"Better" set of disallowed chars for strings in backtraces.

Rev: lib/master.pike.in:1.18
parent c3062bcc
No related branches found
No related tags found
No related merge requests found
/* $Id: master.pike.in,v 1.17 1998/04/21 03:54:01 per Exp $
/* $Id: master.pike.in,v 1.18 1998/04/23 18:35:55 marcus Exp $
*
* Master-file for Pike.
*
......@@ -745,7 +745,7 @@ string stupid_describe(mixed m)
return (string)m;
case "string":
if(sizeof(m) < 60 && sscanf(m,"%*[-a-zAZ0-9.~`!@#$%^&*()_]%n",int i) && i==sizeof(m))
if(sizeof(m) < 60 && sscanf(m,"%*[^\0-\037\177-\237\\\"]%n",int i) && i==sizeof(m))
{
return "\""+m+"\"";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment