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

Strip leading/trailing whitespace from extension url #7052

Merged

Conversation

marcelgerber
Copy link
Contributor

This fixes #7043 by trimming the extension url input.

@@ -134,7 +134,7 @@ define(function (require, exports, module) {
break;

case STATE_INSTALLING:
url = this.$url.val();
url = $.trim(this.$url.val());
Copy link
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
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
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