-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mediaApi.updateImageUrl loses revision querystring #172
Comments
I've just discovered this issue. As a workaround i'm currently overriding the mediaApi to accommodate the revision querystring. It would be be great if this one could be remedied. |
Fixed in #275 |
I think the fix for this issue is causing me issues now. I want to pass the original src for the image and sizing params to get a new src, but the original src includes w, h, iar, and hash by default from Sitecore (w and h are set to the original size of the image). I can't clear them off without manipulating the src before passing it in. The original implementation of this method would be correct for me. As it stands, the allowlist has to be different than what I pass into the Image component |
Description
When we use
mediaApi.updateImageUrl
function to set sizes, it loses therev
querystring.Expected behavior
It should keep the
rev
querystring to properly invalidate CDN cache when updated.The text was updated successfully, but these errors were encountered: