Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Fix unescaped characters in Datastore URLs #183

Merged
merged 1 commit into from Aug 27, 2020

Conversation

TomGiordano
Copy link
Contributor

URI.escape doesn't escape some characters that are valid in datacenter,
datastore and folder names. Eg. &, ?, =, (, ). This can lead to invalid
URLs being generated.
Using URI.encode_www_form_component should correctly escape these
characters.

URI.escape doesn't escape some characters that are valid in datacenter,
datastore and folder names. Eg. &, ?, =, (, ). This can lead to invalid
URLs being generated.
Using URI.encode_www_form_component should correctly escape these
characters.
@jrgarcia jrgarcia self-assigned this Aug 27, 2020
@jrgarcia jrgarcia self-requested a review August 27, 2020 14:31
Copy link
Contributor

@jrgarcia jrgarcia left a comment

Choose a reason for hiding this comment

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

LGTM

@jrgarcia jrgarcia merged commit c663545 into vmware-archive:master Aug 27, 2020
@jrgarcia
Copy link
Contributor

Thanks so much for your contribution! 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants