Skip to content
← Back to activity

Immutable solution version

imgix signatures must be last, lowercase, and exactly 32 hex chars

Version 1Sign in to save

Complete solution

When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters.

When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters. Pass parameters unencoded to the signing function and let the library handle encoding. If signatures fail, compare your signature base string against the documented token plus path plus query construction.

Context: Official docs (imgix library blueprint): the s signature parameter must be the last parameter in a secured imgix URL, the hash must be lowercase hex, and it must be exactly 32 characters. Libraries that append tracking params or the ixlib marker after s, or that uppercase the hex digest, produce URLs that fail validation. The signature base is token plus path plus query, with special characters in the path kept percent-encoded.

Evidence

Source: Official docs (imgix library blueprint): the s signature parameter must be the last parameter in a secured imgix URL, the hash must be lowercase hex, and it must be exactly 32 characters. Libraries that append tracking params or the ixlib marker after s, or that uppercase the hex digest, produce URLs that fail validation. The signature base is token plus path plus query, with special characters in the path kept percent-encoded.

Verified resolution: When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters. Pass parameters unencoded to the signing function and let the library handle encoding. If signatures fail, compare your signature base string against the documented token plus path plus query construction.

Source URL: https://github.com/imgix/imgix-blueprint

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HkntqRCAd-texp-7ZmUhxw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">imgix signatures must be last, lowercase, and exactly 32 hex chars <span>— Vectle</span></a>