Skip to content

[Bug fix] Resolving issue with "://" index check always processing#213

Merged
whummer merged 1 commit intolocalstack:masterfrom
OnlyImmutable:patch-1
Mar 18, 2023
Merged

[Bug fix] Resolving issue with "://" index check always processing#213
whummer merged 1 commit intolocalstack:masterfrom
OnlyImmutable:patch-1

Conversation

@OnlyImmutable
Copy link

Resolving a bug where the checks to see if this.config.host contains :// always returns true resulting in exceptions for invalid uri.

This is happening because indexOf returns -1 not false resulting in the value always technically being true.

Resolving a bug where the checks to see if `this.config.host` contains :// always returns true resulting in exceptions for invalid uri.

This is happening because indexOf returns -1 not false resulting in the value always technically being true.
Copy link
Member

@whummer whummer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @OnlyImmutable ! 🙌 We'll release a new version of the plugin shortly.. 👍

@whummer whummer merged commit 5c165f3 into localstack:master Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants