Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace colons with hyphens in archive URLs #2290

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

HebaruSan
Copy link
Member

#2284 added the ability to fall back to archive.org URLs, but it didn't account for the special handling of epoch formatted version numbers, which need to have colons replaced by hyphens before building the URL:

https://github.com/KSP-CKAN/NetKAN-bot/blob/81751def110ea7ecf137d2630f8e3635b35117a3/lib/App/KSP_CKAN/Metadata/Ckan.pm#L180-L185

Now this is fixed.

@HebaruSan HebaruSan added Bug Something is not working as intended Network Issues affecting internet connections of CKAN labels Feb 20, 2018
@techman83
Copy link
Member

Ahh, I missed that in my last review. Good pickup!

@techman83 techman83 merged commit 629c33f into KSP-CKAN:master Feb 21, 2018
@HebaruSan HebaruSan deleted the fix/archive-epochs branch February 21, 2018 03:24
@HebaruSan HebaruSan mentioned this pull request Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Network Issues affecting internet connections of CKAN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants