Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fastify/busboy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.2.2
Choose a base ref
...
head repository: fastify/busboy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.4
Choose a head ref
  • 6 commits
  • 6 files changed
  • 6 contributors

Commits on Oct 5, 2026

  1. ci: enable trusted publishing releases

    Puppo authored and Tony133 committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    e178b67 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2026

  1. Configuration menu
    Copy the full SHA
    144bf46 View commit details
    Browse the repository at this point in the history
  2. Bumped v3.2.3

    github-actions[bot] committed Oct 10, 2026
    Configuration menu
    Copy the full SHA
    af57a2c View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2026

  1. Configuration menu
    Copy the full SHA
    5d8777b View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2026

  1. fix: drop split CRLFCRLF terminator bytes from the header buffer (#218)

    * fix: drop split CRLFCRLF terminator bytes from the header buffer
    
    When a part's `\r\n\r\n` header terminator is split across two pushes as
    `...\r` followed by `\n\r\n`, HeaderParser appended the leading `\r` to
    the header buffer on the first push, then matched the terminator on the
    second push without removing it. The stray `\r` stayed attached to the
    last header value, so e.g. `Content-Type: image/png` was reported as
    `image/png\r`.
    
    This made parsing depend on transport chunking: the same bytes produced
    a different result depending on where the stream was split, corrupting
    the last header (mimetype, content-transfer-encoding, `filename*`) of any
    part whenever the terminator happened to break right after the first CR.
    
    Track how many terminator-prefix bytes were buffered on the previous
    push and trim them before finishing. The count is 0 in the common case,
    so the slice is a no-op there.
    
    * fix: skip the split-terminator slice once maxHeaderSize truncation has dropped bytes
    
    When a header block is truncated at maxHeaderSize (this.maxed), the trailing
    `\r` of a split CRLFCRLF terminator was never appended, so the last splitTail
    bytes of the buffer are real header content, not the terminator prefix. Slicing
    them off then corrupts the final value (e.g. `bar` -> `ba`). Guard the slice on
    !this.maxed; splitTail is only the buffer's tail when nothing was dropped.
    
    Also drop `this.nread -= splitTail` — dead, _finish() sets this.nread = 0 next.
    
    Adds a dicer-headerparser case with a small maxHeaderSize to cover the maxed
    branch and keep coverage at 100%.
    
    ---------
    
    Co-authored-by: Antonio Tripodi <Tony133@users.noreply.github.com>
    spokodev and Tony133 authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    273132f View commit details
    Browse the repository at this point in the history
  2. Bumped v3.2.4

    github-actions[bot] committed Oct 22, 2026
    Configuration menu
    Copy the full SHA
    9bbcbee View commit details
    Browse the repository at this point in the history
Loading