Skip to content

Reject control characters in wsgiref.headers.Headers #143916

Closed

Activity

  1. vytas7 commented on Jan 21, 2026

    @vytas7

    Hey @sethmlarson, not to take away from this great security initiative, but could you elaborate on disallowing HTAB (0x09) in header values?

    My interpretation of RFC 9110, 5.5. Field values is that HTAB should be allowed.

  2. sethmlarson commented on Jan 21, 2026

    @sethmlarson
    ContributorAuthor

    @vytas7 Ah dang, you are right. I'll submit a follow-up pull request to this PR.

  3. added a commit that references this issue on Jan 30, 2026
  4. added a commit that references this issue on Feb 2, 2026
  5. added a commit that references this issue on Feb 3, 2026
  6. added a commit that references this issue on Feb 12, 2026
  7. added 4 commits that reference this issue on Feb 12, 2026
  8. added 2 commits that reference this issue on Feb 15, 2026
  9. picnixz commented on Feb 21, 2026

    @picnixz
    Member

    Backports are still hanging and I believe the fix should be backported to security branches as well as otherwise we are removing a possible correct behavior in security-only branches.

    @sethmlarson

  10. added
    3.13only security fixes
    3.14bugs and security fixes
    on Feb 21, 2026
  11. added a commit that references this issue on Feb 21, 2026
  12. removed
    3.14bugs and security fixes
    on Feb 21, 2026
  13. hugovk commented on Feb 21, 2026

    @hugovk
    Member

    Merged into 3.14.

  14. added a commit that references this issue on Feb 23, 2026
  15. added 3 commits that reference this issue on Feb 23, 2026
  16. added a commit that references this issue on Feb 23, 2026
  17. removed
    3.12only security fixes
    3.13only security fixes
    on Feb 23, 2026
  18. added a commit that references this issue on Feb 28, 2026
  19. added 2 commits that reference this issue on Mar 2, 2026
  20. added a commit that references this issue on Mar 26, 2026
  21. added a commit that references this issue on Apr 25, 2026
  22. added 2 commits that reference this issue on Sep 18, 2026
  23. added 2 commits that reference this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions