Open Vogel612 opened 10 years ago
Well, the problem here is with HtmlDocument
isn't it? Either itself or its usage. Its .href()
method only contains the path, query (and fragment?) elements of the URI, not its protocol or host.
On a sidenote, this is also happening with forms referencing relative URLs when they are submitted
Any time one calls Link#href() on a relative link (e.g.
<a href="/users/login" />
) a MalformedURLException will get thrown in AbstractResource#absoluteUrl()Code reproducing the problem:
assumptions:
Root cause in stack-trace (calling code omitted):