Skip to content

Conversation

@Artur-
Copy link
Member

@Artur- Artur- commented Nov 7, 2025

StreamReceiverHandler.doHandleXhrFilePost() was using hardcoded "unknown" values for both filename and content type, even though the headers were available in the request.

This fix:

  • Extracts filename from X-Filename header (with proper decoding)
  • Extracts content type from Content-Type header
  • Creates reusable helper methods in TransferUtil to avoid duplication with the existing XHR upload handling code (from commit 1c777e1)

…Handler for XHR uploads

StreamReceiverHandler.doHandleXhrFilePost() was using hardcoded "unknown"
values for both filename and content type, even though the headers were
available in the request.

This fix:
- Extracts filename from X-Filename header (with proper decoding)
- Extracts content type from Content-Type header
- Creates reusable helper methods in TransferUtil to avoid duplication
  with the existing XHR upload handling code (from commit 1c777e1)
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results

1 281 files  ± 0  1 281 suites  ±0   1h 15m 26s ⏱️ + 1m 8s
8 889 tests + 5  8 822 ✅ + 5  67 💤 ±0  0 ❌ ±0 
9 342 runs  +34  9 264 ✅ +34  78 💤 ±0  0 ❌ ±0 

Results for commit a97454e. ± Comparison against base commit e2d2d00.

♻️ This comment has been updated with latest results.

@github-actions github-actions bot added +1.0.0 and removed +0.0.1 labels Nov 7, 2025
@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Nov 7, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants