Upstream contribution · anmolkapil/plexo
plexo · Keeping spaces in filenames downloaded by Plexo
Problem
Some servers send Content-Disposition filenames with spaces and without quotes. Plexo stopped at the first space, turning quarterly report.csv into quarterly.
Engineering response
The parser consumes the unquoted value through the next parameter separator and trims the surrounding spaces and tabs. Quoted and extended filenames continue to use their existing paths.
Evidence and scope
An Electron Playwright regression reproduced the truncated name. The merged record reports 32 passing download and redirect checks with the correction.