correct handling of 'quotes' in URLs