Skip to content

Image source URL properties containing localhost do not work #3496

Description

@adamterlson

Experienced behavior on iOS.

I'm serving an image locally from a web server, bound identically under two hostnames: http://localhost:3000/myImage.png and http://foobar:3000/myImage.png

Works as expected:
<Image source={{uri: 'http://foobar:3000/myImage.png'}} />

However, the following does not work, and no request hits the server hosted server at all, so may not be making the request at all or it may be mangled/routed somewhere unexpected.
<Image source={{uri: 'http://localhost:3000/myImage.png'}} />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions