Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Fixes #22 by using weblinks instead of API links. #24

Merged
merged 1 commit into from
Oct 11, 2013

Conversation

dietmarw
Copy link
Member

Still a bit hard coded towards the current GitHub structure but
we'll see in future if there are much changes.

Still a bit hard coded towards the current GitHub structure but
we'll see in future if there are much changes.
@@ -117,9 +117,11 @@ def process_github_user(repo_data, user, pat, github, verbose,
print " Dependencies: "+str(deps)

# Create a data structure for information related to this version
tagurlbase = ('https://github.com/%s/%s/archive/%s'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably not a major concern, but tag names are beyond our control. As such, in this context they could be a vector for malicious code. So it would be best to properly escape them in general. As I said, it probably isn't a big deal here though. GitHub may already do some of that. And you are rather limited in tag name size, I assume.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know of a simple "python escape" function for this purpose?

xogeny pushed a commit that referenced this pull request Oct 11, 2013
Fixes #22 by using weblinks instead of API links.
@xogeny xogeny merged commit 3f2ac7b into impact:master Oct 11, 2013
@dietmarw dietmarw deleted the issue22_weblinks branch November 8, 2013 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants