Skip to content

Unexpected behaviour in loading images from the web in wasmjs #674

@shub39

Description

@shub39

Info

  • Library Version 2.4.4
  • Affected Device(s) : Browsers (Kotlin/Wasm)

Description

Using CoilImage in wasmjs fails with links that redirect to images. While it sucessfully loads the image in other targets. for example

CoilImage(
    imageModel = { "https://github.com/shub39/Plumbus/blob/master/fastlane/metadata/android/en-US/images/icon200x200.png?raw=true" }
)

doesnt work and fails only in wasmjs but direct links work as expected: https://raw.githubusercontent.com/shub39/Plumbus/refs/heads/master/fastlane/metadata/android/en-US/images/icon200x200.png

Expected Behavior:
Images should load with the same link in all targets without exceptions

I am not sure if this is a issue with landscapist or the httpclient for wasmjs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions