]> gitweb.factorcode.org Git - factor.git/commit
Extending Url Parsing (#2354)
authorDavid Mindlin <davidmindlin4@gmail.com>
Thu, 29 Oct 2020 14:15:52 +0000 (07:15 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 14:15:52 +0000 (09:15 -0500)
commitdf0c6238d5485c47af087e7fb33f46e97a0beefb
tree49ef491d624b474a26445f289035f3db88546b31
parentef4138b88367f4d1ffca23cbfdc4b3a6c3e23d2b
Extending Url Parsing (#2354)

* added new test cases for urls

* Parsing URLs that do not have a authority component

* Increasing the robustness of the URL parser for passwords

* Rewrote the no authority case for urls and updated prettyprinting to
reflect the change.

* fixed matching empty port

* added upper bound for port number

* Updated the url parsing to accept an empty username.

* check if port is valid

* Updated the url tests to test new extensions to the url library.

* Updating the style for recently added extensions to urls.factor.

* removed sanity check for port, want to allow for IPvX support

Co-authored-by: David Flores <dflores0818@gmail.com>
basis/urls/urls-tests.factor
basis/urls/urls.factor