apache / apache/libcloud

urlparse fails with AZURE_BLOBS

Open
#1,985 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
931
Avg merge
1d 2h
Merged PRs (30d)
4

Description

## Summary

As libcloud uses `_` in scheme name, many popular libraries, eg urllib, fail to parse the URIs generated.

```
In [1]: from urllib.parse import urlparse

In [2]: urlparse('AZURE_BLOBS://data')
Out[2]: ParseResult(scheme='', netloc='', path='AZURE_BLOBS://data', params='', query='', fragment='')
```

Contributor guide

Open the contributing guide

Research direction

Start by locating where libcloud generates the AZURE_BLOBS URI and trace how its schemes are defined. Compare that output with urllib.parse.urlparse using the example; done should be demonstrated by a regression test or documented behavior showing the generated URI parses as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.