python / python/cpython

http.cookies.SimpleCookie does not parse attribute without value (rfc2109)

Open
#81,458 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.7 (EOL) stdlib
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 37277
Nosy @pitrou, @tirkarthi

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-06-14.08:41:30.070>
labels = ['3.7']
title = 'http.cookies.SimpleCookie does not parse attribute without value (rfc2109)'
updated_at = <Date 2019-06-14.09:14:43.527>
user = 'https://bugs.python.org/sirkonst'

bugs.python.org fields:

activity = <Date 2019-06-14.09:14:43.527>
actor = 'SilentGhost'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2019-06-14.08:41:30.070>
creator = 'sirkonst'
dependencies = []
files = []
hgrepos = []
issue_num = 37277
keywords = []
message_count = 3.0
messages = ['345563', '345564', '345565']
nosy_count = 4.0
nosy_names = ['pitrou', 'SilentGhost', 'sirkonst', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue37277'
versions = ['Python 3.7']

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the http.cookies.SimpleCookie entry point and reproduce the failure described in the title for an RFC 2109 attribute without a value. Compare the behavior with RFC 2109 and add regression coverage showing that the attribute is parsed correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.