Updated ::to_absolute to allow spaces in URL fragments