X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=7010cd414746d148ebf3fea285246c28aa50c9d7;hp=e7eff5e2766a663804370c494dbdfeafab905c13;hb=0a3697ad652df74ffeec8a97e1d23c343d8ef391;hpb=ebea9e7e0bdff6c488928253cea82cbb22edd3cc diff --git a/src/options.h b/src/options.h index e7eff5e2..7010cd41 100644 --- a/src/options.h +++ b/src/options.h @@ -184,6 +184,12 @@ struct options char *post_data; /* POST query string */ char *post_file_name; /* File to post */ + + enum { + restrict_none, + restrict_shell, + restrict_windows + } restrict_file_names; /* whether we restrict file name chars. */ }; extern struct options opt;