Show directly the old info pages images with JPG/PNG URLs

Summary by CodeRabbit

  • New Features

    • Broadened image support to include JPG/JPEG/PNG across upload, proxy, and conversion flows.
  • Bug Fixes

    • Strengthened URL validation and redirect handling to reduce SSRF risk.
    • Added a 10s fetch timeout, ensured fetch cleanup to prevent memory leaks.
    • Enforced 10 MB size limits and stricter image format/metadata validation; improved error messages with hostname and HTTP status details.
  • Frontend

    • Expanded proxying to cover additional image types when generating PDFs.
Edited by coderabbit

Merge request reports

Loading