trailing slash results in different parsing on https urls
Open
- Dominant language
- Python
- Stars
- 30
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
```
>>> p = giturlparse.parse("https://github.com/test/foo/")
>>> p
Parsed(pathname='foo/', protocols=['https'], protocol='ssh', href='https://github.com/test/foo/', resource='test', user=None, port=None, name=None, owner='foo')
>>> p = giturlparse.parse("https://github.com/test/foo")
>>> p
Parsed(pathname='/test/foo', protocols=['https'], protocol='https', href='https://github.com/test/foo', resource='github.com', user=None, port=None, name='foo', owner='test')
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.