Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #54 from Krinkle/patch-1

Update pulley.js: Add encodeURIComponent for auth.
  • Loading branch information...
commit 9cc6759589bca1f48edbce383bf4519552307b50 2 parents 20cc48e + b6aa0c0
@sindresorhus sindresorhus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pulley.js
View
2  pulley.js
@@ -59,7 +59,7 @@
empty: false,
hidden: true
}], function( err, result ) {
- var auth = result.username + ":" + result.password;
+ var auth = encodeURIComponent( result.username ) + ":" + encodeURIComponent( result.password );
request.post("https://" + auth + "@api.github.com/authorizations", {
json: true,
body: {

0 comments on commit 9cc6759

Please sign in to comment.
Something went wrong with that request. Please try again.