default port not properly removed with set(netloc=None) and weird interaction with set(scheme=None)
Open
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
ex:
```python
>>> f = furl('https://www.google.com/hello')
>>> f.copy().set(scheme=None, netloc=None).url
'//:443/hello/'
```
vs
```python
>>> f = furl('https://www.google.com/hello')
>>> f.copy().set(scheme=None).set(netloc=None).url
'/hello'
```
and oddity with `.set(scheme=None)`
```
>>> f = furl('https://www.google.com:999/hello')
>>> f.copy().set(scheme=None, netloc=None).url
'//:443/hello'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.