`base_url` of `fromstring()` quoted the url that already been quoted

Bug #2002204 reported by abcd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
New
Undecided
Unassigned

Bug Description

eg
```
import lxml.html
lxml.html.fromstring('<html>','/[test]').base_url
#'/%5Btest%5D'
```
However, the '/[test]' is from `element.get("href")`.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.