Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Quote the root directory #116

Merged
merged 1 commit into from
Dec 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
except ImportError: # pragma: no cover
from urllib import urlencode

try:
from shlex import quote
except ImportError: # pragma: no cover
from pipes import quote

import subprocess

# https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
Expand Down Expand Up @@ -549,6 +554,8 @@ def main(*argv, **kwargs):
if codecov.root:
root = codecov.root

root = quote(root)

# Upload
# ------
try:
Expand Down