Skip to content

Add relative url support to validateURL

Resolves #307 (closed)

This MR updates the documentation page and also adds relative url support to validateURL.

It uses a regex pattern to determine whether or not a base arg needs to be passed to URL's constructor. A base arg is supposed to be passed when using relative urls.

Merge request reports