python-hyper / python-hyper/rfc3986

URLs ending in "\n" are stripped of the new-line before normalization

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
189
Forks
38
Avg merge
13h 36m
Merged PRs (30d)
1

Description

Caused by the URI_MATCHER and IRI_MATCHER not using re.DOTALL.

Contributor guide

No contributing guide indexed for this repository

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 by locating the URI_MATCHER and IRI_MATCHER definitions in the repository and inspect how they handle URLs ending in a newline before normalization. Confirm the matcher behavior with a focused regression test, then run the existing test suite; done means the trailing newline is preserved through normalization without breaking other URL cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.