gruns / gruns/furl

URL's missing a scheme fail silently

Open
#112 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2.8k
Forks
165
PR merge metrics
No merged PRs in 30d

Description

If I create a furl object without a scheme like so:

```
>>>from furl import furl
>>>x = furl('www.google.com')
```

It fails in weird ways that aren't exactly intuitive.

I would expect that furl should either raise an error here or create a URL without a scheme.

Instead I get weird results like:
```
>>> g.origin
'://'
>>> g.host
>>> g.netloc
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.