Skip to main content
Version: 1.8.0

Azure blob upload config keeps the renewable SAS shape

Version: 1.8.0 Date: 2026-10-18

Goal: Renewing an Azure SAS from the hosting screen or from Retool must update the token the current box uses, without rewriting existing documents.

Solution: PATCH /admin/company/upload-config normalizes a BLOB_STORAGE config onto containerUrl and sasToken, and still fills sasUrl and container for boxes before 4.35. An account SAS takes the container from the form field. A container SAS takes it from the URL path.

Features:

  • Retool payload (containerUrl + sasToken) is stored as-is and the legacy pair is filled from it
  • Account SAS plus the container field becomes containerUrl + sasToken
  • Container SAS uses the container in the path
  • A URL that points at a specific blob is rejected

Files Modified:

  • app/util/normalizeBlobUploadSettings.js - Derive both config shapes
  • app/routes/admin.js - Normalize on BLOB_STORAGE save
  • test/normalize-blob-upload-settings.js - Account SAS, container SAS, and Retool payload

Release fragment: fix-blob-upload-config-format