-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Ok, in 1.0.4 you added support to ignore protocols with non colon-slash-slash. But now it not prepend with auth (the authentication information portion of a URL). Example:
const prependHttp = require('prepend-http');
prependHttp('login:password@site.com');
//=> login:password@site.com
prependHttp('login:password@site.com:1234');
//=> login:password@site.com:1234
prependHttp('login:password@site.com/path/name');
//=> login:password@site.com/path/name
In version 1.0.3 it worked correctly.