Comparing version 5.0.0 to 5.0.1
@@ -547,3 +547,4 @@ 'use strict'; | ||
uriRegex: /^([^:]+)\:\/\/(?:[^@]*@)?([^\/:]+)(?:\:(\d+))?([^#]*)(?:#.*)?$/, // scheme://credentials@host:port/resource#fragment | ||
// 1 2 3 4 | ||
uriRegex: /^([^:]+)\:\/\/(?:[^@/]*@)?([^\/:]+)(?:\:(\d+))?([^#]*)(?:#.*)?$/, // scheme://credentials@host:port/resource#fragment | ||
parseUri: function parseUri(input) { | ||
@@ -550,0 +551,0 @@ |
@@ -593,3 +593,4 @@ 'use strict'; | ||
uriRegex: /^([^:]+)\:\/\/(?:[^@]*@)?([^\/:]+)(?:\:(\d+))?([^#]*)(?:#.*)?$/, // scheme://credentials@host:port/resource#fragment | ||
// 1 2 3 4 | ||
uriRegex: /^([^:]+)\:\/\/(?:[^@/]*@)?([^\/:]+)(?:\:(\d+))?([^#]*)(?:#.*)?$/, // scheme://credentials@host:port/resource#fragment | ||
parseUri: function (input) { | ||
@@ -596,0 +597,0 @@ |
{ | ||
"name": "hawk", | ||
"description": "HTTP Hawk Authentication Scheme", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/hawk", |
@@ -0,0 +0,0 @@ ![hawk Logo](https://raw.github.com/hueniverse/hawk/master/images/hawk.png) |
@@ -1531,2 +1531,14 @@ 'use strict'; | ||
}); | ||
it('handles email address in path', (done) => { | ||
const uri = Browser.utils.parseUri('https://example.com/some/email@example.com'); | ||
expect(uri).to.equal({ | ||
host: 'example.com', | ||
port: '443', | ||
resource: '/some/email@example.com' | ||
}); | ||
done(); | ||
}); | ||
}); | ||
@@ -1533,0 +1545,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5885
393493