Skip to content

Handle null temp file prefix/suffix in URLLocation - #120

Closed
SpaleRuby wants to merge 1 commit into
apache:masterfrom
SpaleRuby:agent-falcon-1-null-tempfile-fix
Closed

Handle null temp file prefix/suffix in URLLocation#120
SpaleRuby wants to merge 1 commit into
apache:masterfrom
SpaleRuby:agent-falcon-1-null-tempfile-fix

Conversation

@SpaleRuby

Copy link
Copy Markdown

Fixed NPE when URLLocation gets null tempFilePrefix or tempFileSuffix by using safe defaults (url and .tmp) before createTempFile. Added regression test to ensure null prefix and suffix do not crash and still write a temp file.

if this saved you time, you can send a tip here: 69cT26eTDKnqq3wfmDAau7mVBrN8jVTnVbMaSU4DVfxB

@elharo elharo closed this Jul 31, 2026
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.

2 participants