-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change URL max length to 8000
- Loading branch information
1 parent
b11763b
commit 499267c
Showing
2 changed files
with
2 additions
and
2 deletions.
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 |
---|---|---|
|
@@ -66,6 +66,6 @@ describe("parseuri", function () { | |
expect(relativeWithQuery.path).to.be("/foo"); | ||
expect(relativeWithQuery.query).to.be("[email protected]"); | ||
|
||
expect(() => parseuri(repeat("a", 2001))).to.throwError("URI too long"); | ||
expect(() => parseuri(repeat("a", 8001))).to.throwError("URI too long"); | ||
}); | ||
}); |