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

Conversation

@ingorichter
Copy link
Contributor

This fixes adobe/brackets#8692.
The extension name and the extension version will now be URI encoded and all URL unsafe characters are replaced by their % encoded entities.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is backwards... it should be expect(formattedURL).toBe("http://...") (expect takes the "actual" value)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes and No. The output reads nicer when writing it this way. ;-) I'm going to change it to avoid confusion.

@dangoor dangoor self-assigned this Aug 11, 2014
Copy link
Contributor

Choose a reason for hiding this comment

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

Better use 3 braces to not escape the already escaped URL again.

@dangoor
Copy link
Contributor

dangoor commented Aug 12, 2014

Looks good. Merging.

dangoor added a commit that referenced this pull request Aug 12, 2014
URI encode parts of the extension download URL
@dangoor dangoor merged commit c04c2d5 into master Aug 12, 2014
@dangoor dangoor deleted the ingo/fix-8692 branch August 12, 2014 19:25
@ingorichter
Copy link
Contributor Author

Closing. This got already deployed.

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.

Extension Manager returns 404 error for when extension version contains "+"

4 participants