Skip to content

Shapeshifter library should refuse unencrypted http connections (only allow https) #71

@eelcodenheijer

Description

@eelcodenheijer

Description

The shapeshifter library will send a flex message to any endpoint (http or https), whereas the specification states that only encrypted communication should be allowed.

Fix

We should add a check before setting up a connection, that verifies whether

  1. the endpoint uses https; if the endpoint is http then an exception should be thrown.
  2. the endpoint URL either contains no port, or contains port 443

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions