]> sjero.net Git - wget/blobdiff - src/options.h
Introduce --trust-server-names. Close CVE-2010-2252.
[wget] / src / options.h
index 4e5d7203cd19eb48f4b2aa25c92800cb69d72124..9fbedb785f3fff7a6108b0fd8393aa8225c31735 100644 (file)
@@ -1,6 +1,6 @@
 /* struct options.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -242,6 +242,7 @@ struct options
   char *encoding_remote;
   char *locale;
 
+  bool trustservernames;
 #ifdef __VMS
   int ftp_stmlf;                /* Force Stream_LF format for binary FTP. */
 #endif /* def __VMS */