Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bab41433
Commit
bab41433
authored
Feb 05, 2005
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF patch #1116583: NameError in cookielib domain check
parent
ab630507
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Lib/cookielib.py
Lib/cookielib.py
+3
-4
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/cookielib.py
View file @
bab41433
...
...
@@ -1134,11 +1134,10 @@ class DefaultCookiePolicy(CookiePolicy):
# having to load lots of MSIE cookie files unless necessary.
req_host, erhn = eff_request_host(request)
if not req_host.startswith("."):
dotted_
req_host = "."+req_host
req_host = "."+req_host
if not erhn.startswith("."):
dotted_erhn = "."+erhn
if not (dotted_req_host.endswith(domain) or
dotted_erhn.endswith(domain)):
erhn = "."+erhn
if not (req_host.endswith(domain) or erhn.endswith(domain)):
#debug(" request domain %s does not match cookie domain %s",
# req_host, domain)
return False
...
...
Misc/ACKS
View file @
bab41433
...
...
@@ -399,6 +399,7 @@ Luke Mewburn
Mike Meyer
Steven Miale
Trent Mick
Chad Miller
Roman Milner
Dom Mitchell
Doug Moen
...
...
Misc/NEWS
View file @
bab41433
...
...
@@ -51,6 +51,8 @@ Extension Modules
Library
-------
- Fixed bug in a NameError bug in cookielib. Patch #1116583.
- Applied a security fix to SimpleXMLRPCserver (PSF-2005-001). This
disables recursive traversal through instance attributes, which can
be exploited in various ways.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment