diff --git a/pulley.js b/pulley.js
index <HASH>..<HASH> 100755
--- a/pulley.js
+++ b/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: {
Update pulley.js: Add encodeURIComponent for auth.



Passwords can contain symbols such as '@' (which are

not allowed in that position and breaks the request).