You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass a fully qualified cross-origin domain into createOptimizedImage it should not remove the origin and assume the image is local to the project.
Actual Behaviour
It only uses pathname to create the optimized image.
Reproduce Scenario (including but not limited to)
I injected a cross-origin image in a card block and card block calls createOptmizeImage.
Steps to Reproduce
Build a synthetic card block with cross-origin / FQDN images and watch the origin get stripped out.
Platform and Version
All
The text was updated successfully, but these errors were encountered:
Expected Behaviour
If I pass a fully qualified cross-origin domain into
createOptimizedImage
it should not remove the origin and assume the image is local to the project.Actual Behaviour
It only uses pathname to create the optimized image.
Reproduce Scenario (including but not limited to)
I injected a cross-origin image in a card block and card block calls
createOptmizeImage
.Steps to Reproduce
Build a synthetic card block with cross-origin / FQDN images and watch the origin get stripped out.
Platform and Version
All
The text was updated successfully, but these errors were encountered: