Skip to content

SEC: Avoid excessive whitespace in layout mode text extraction - #3790

Merged
stefan6419846 merged 1 commit into
py-pdf:mainfrom
stefan6419846:layout-whitespace
May 21, 2026
Merged

stefan6419846 merged 1 commit into
py-pdf:mainfrom
stefan6419846:layout-whitespace

Conversation

@stefan6419846

Copy link
Copy Markdown
Collaborator

No description provided.

@stefan6419846
stefan6419846 merged commit 9d27470 into py-pdf:main May 21, 2026
24 of 30 checks passed
@stefan6419846
stefan6419846 deleted the layout-whitespace branch May 21, 2026 08:55
@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.69%. Comparing base (0a8e699) to head (7105ca4).
⚠️ Report is 144 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3790   +/-   ##
=======================================
  Coverage   97.69%   97.69%           
=======================================
  Files          55       55           
  Lines       10333    10344   +11     
  Branches     1906     1909    +3     
=======================================
+ Hits        10095    10106   +11     
  Misses        133      133           
  Partials      105      105           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

stefan6419846 added a commit that referenced this pull request May 21, 2026
## What's new

### Security (SEC)
- Disallow cross-reference streams with zero-only width values (#3791) by @stefan6419846
- Avoid excessive whitespace in layout mode text extraction (#3790) by @stefan6419846

### New Features (ENH)
- Implement SASLprep (RFC 4013) for AES-256 password normalization (#3780) by @adityamoolya
- CID font resource from font file to encode more characters (#3652) by @PJBrs

### Performance Improvements (PI)
- Optimize retrieval of named destinatinos in reader (#3442) by @larsga

### Bug Fixes (BUG)
- Fix TreeObject.insert_child KeyError on fresh children (#3786) by @Abzaek

### Robustness (ROB)
- AppearanceStream: Also honor user-set font name when not flattening annotations (#3781) by @PJBrs

### Documentation (DOC)
- Block encrypting writer in incremental mode (#3789) by @stefan6419846

[Full Changelog](6.11.0...6.12.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant