Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
w3m.5344
w3m-disable-cookie-special-domain-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File w3m-disable-cookie-special-domain-check.patch of Package w3m.5344
Index: w3m-0.5.3/cookie.c =================================================================== --- w3m-0.5.3.orig/cookie.c +++ w3m-0.5.3/cookie.c @@ -332,6 +332,7 @@ add_cookie(ParsedURL *pu, Str name, Str COOKIE_ERROR(COO_ESPECIAL); } } +#if 0 else if (n == 2) { char **sdomain; int ok = 0; @@ -345,6 +346,7 @@ add_cookie(ParsedURL *pu, Str name, Str COOKIE_ERROR(COO_ESPECIAL); } } +#endif } else { /* [DRAFT 12] s. 4.3.2 case 2 */ Index: w3m-0.5.3/fm.h =================================================================== --- w3m-0.5.3.orig/fm.h +++ w3m-0.5.3/fm.h @@ -726,7 +726,7 @@ struct cookie { /* version 1' refers to the Internet draft to obsolete RFC 2109 */ #define COO_EINTERNAL (1) /* unknown error; probably forgot to convert "return 1" in cookie.c */ #define COO_ETAIL (2 | COO_OVERRIDE_OK) /* tail match failed (version 0) */ -#define COO_ESPECIAL (3) /* special domain check failed (version 0) */ +#define COO_ESPECIAL (3 | COO_OVERRIDE_OK) /* special domain check failed (version 0) */ #define COO_EPATH (4) /* Path attribute mismatch (version 1 case 1) */ #define COO_ENODOT (5 | COO_OVERRIDE_OK) /* no embedded dots in Domain (version 1 case 2.1) */ #define COO_ENOTV1DOM (6 | COO_OVERRIDE_OK) /* Domain does not start with a dot (version 1 case 2.2) */ Index: w3m-0.5.3/rc.c =================================================================== --- w3m-0.5.3.orig/rc.c +++ w3m-0.5.3/rc.c @@ -316,7 +316,7 @@ static struct sel_c dnsorders[] = { #ifdef USE_COOKIE static struct sel_c badcookiestr[] = { {N_S(ACCEPT_BAD_COOKIE_DISCARD), N_("discard")}, -#if 0 +#if 1 {N_S(ACCEPT_BAD_COOKIE_ACCEPT), N_("accept")}, #endif {N_S(ACCEPT_BAD_COOKIE_ASK), N_("ask")},
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor