Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Strip leading/trailing whitespace from extension url#7052

Merged
ingorichter merged 2 commits intoadobe:masterfrom
marcelgerber:install-extension-dialog-trim
Mar 3, 2014
Merged

Strip leading/trailing whitespace from extension url#7052
ingorichter merged 2 commits intoadobe:masterfrom
marcelgerber:install-extension-dialog-trim

Conversation

@marcelgerber
Copy link
Copy Markdown
Contributor

This fixes #7043 by trimming the extension url input.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Little nit: I think we can use the native JavaScript trim() function here.

@marcelgerber
Copy link
Copy Markdown
Contributor Author

Fixed both. I did remove trimmedUrl as well 'cause we don't need the untrimmed URL elsewhere.

ingorichter added a commit that referenced this pull request Mar 3, 2014
Strip leading/trailing whitespace from extension url
@ingorichter ingorichter merged commit 14822dc into adobe:master Mar 3, 2014
@ingorichter
Copy link
Copy Markdown
Contributor

@SAplayer Thank you. Merged.

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.

Strip whitespace from URL when installing extensions

2 participants