-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(isUrl): urls with empty user (#1833)
* allow urls with empty user * use array extract * reuse auth split
- Loading branch information
1 parent
7300b33
commit c28c9aa
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -364,6 +364,7 @@ describe('Validators', () => { | |
'http://www.foobar.com/~foobar', | ||
'http://user:[email protected]/', | ||
'http://user:@www.foobar.com/', | ||
'http://:[email protected]/', | ||
'http://[email protected]', | ||
'http://127.0.0.1/', | ||
'http://10.0.0.0/', | ||
|