Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 503672
Collapse All | Expand All

(-)wget-1.14/src/cookies.c (-1 / +1 lines)
Lines 706-712 Link Here
706
        /* no slash in the string -- can this even happen? */
706
        /* no slash in the string -- can this even happen? */
707
        cookie->path = xstrdup (path);
707
        cookie->path = xstrdup (path);
708
    }
708
    }
709
  else
709
  else if (!opt.ignorecookiepath)
710
    {
710
    {
711
      /* The cookie sets its own path; verify that it is legal. */
711
      /* The cookie sets its own path; verify that it is legal. */
712
      if (!check_path_match (cookie->path, path))
712
      if (!check_path_match (cookie->path, path))
(-)wget-1.14/src/init.c (+1 lines)
Lines 194-199 Link Here
194
  { "httpsproxy",       &opt.https_proxy,       cmd_string },
194
  { "httpsproxy",       &opt.https_proxy,       cmd_string },
195
  { "httpuser",         &opt.http_user,         cmd_string },
195
  { "httpuser",         &opt.http_user,         cmd_string },
196
  { "ignorecase",       &opt.ignore_case,       cmd_boolean },
196
  { "ignorecase",       &opt.ignore_case,       cmd_boolean },
197
  { "ignorecookiepath",	&opt.ignorecookiepath,	cmd_boolean },
197
  { "ignorelength",     &opt.ignore_length,     cmd_boolean },
198
  { "ignorelength",     &opt.ignore_length,     cmd_boolean },
198
  { "ignoretags",       &opt.ignore_tags,       cmd_vector },
199
  { "ignoretags",       &opt.ignore_tags,       cmd_vector },
199
  { "includedirectories", &opt.includes,        cmd_directory_vector },
200
  { "includedirectories", &opt.includes,        cmd_directory_vector },
(-)wget-1.14/src/main.c (+3 lines)
Lines 229-234 Link Here
229
    { "level", 'l', OPT_VALUE, "reclevel", -1 },
229
    { "level", 'l', OPT_VALUE, "reclevel", -1 },
230
    { "limit-rate", 0, OPT_VALUE, "limitrate", -1 },
230
    { "limit-rate", 0, OPT_VALUE, "limitrate", -1 },
231
    { "load-cookies", 0, OPT_VALUE, "loadcookies", -1 },
231
    { "load-cookies", 0, OPT_VALUE, "loadcookies", -1 },
232
    { "ignore-cookie-path", 0, OPT_BOOLEAN, "ignorecookiepath", -1},
232
    { "local-encoding", 0, OPT_VALUE, "localencoding", -1 },
233
    { "local-encoding", 0, OPT_VALUE, "localencoding", -1 },
233
    { "max-redirect", 0, OPT_VALUE, "maxredirect", -1 },
234
    { "max-redirect", 0, OPT_VALUE, "maxredirect", -1 },
234
    { "mirror", 'm', OPT_BOOLEAN, "mirror", -1 },
235
    { "mirror", 'm', OPT_BOOLEAN, "mirror", -1 },
Lines 606-611 Link Here
606
    N_("\
607
    N_("\
607
       --keep-session-cookies  load and save session (non-permanent) cookies.\n"),
608
       --keep-session-cookies  load and save session (non-permanent) cookies.\n"),
608
    N_("\
609
    N_("\
610
       --ignore-cookie-path    accept cookies with an illegal Path.\n"),
611
    N_("\
609
       --post-data=STRING      use the POST method; send STRING as the data.\n"),
612
       --post-data=STRING      use the POST method; send STRING as the data.\n"),
610
    N_("\
613
    N_("\
611
       --post-file=FILE        use the POST method; send contents of FILE.\n"),
614
       --post-file=FILE        use the POST method; send contents of FILE.\n"),
(-)wget-1.14/src/options.h (+3 lines)
Lines 225-230 Link Here
225
  char *cookies_output;		/* file we're saving the cookies to. */
225
  char *cookies_output;		/* file we're saving the cookies to. */
226
  bool keep_session_cookies;	/* whether session cookies should be
226
  bool keep_session_cookies;	/* whether session cookies should be
227
				   saved and loaded. */
227
				   saved and loaded. */
228
  bool ignorecookiepath;	/* whether to accept cookies with paths that
229
  				   are not a prefix of the request's path,
230
				   this violates RFC2965. */
228
231
229
  char *post_data;		/* POST query string */
232
  char *post_data;		/* POST query string */
230
  char *post_file_name;		/* File to post */
233
  char *post_file_name;		/* File to post */

Return to bug 503672