Fix #247, URL encoding values from the URL editor