summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-04-12 23:31:20 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-12 23:32:57 +0200
commite5a0b7504fbea141a3b5723d759e5238541eace9 (patch)
tree24e540a341de83d69a014aba13894ea20e9dc306
parentClean up one further backports reference (diff)
downloadsemantic-data-toolkit-e5a0b7504fbea141a3b5723d759e5238541eace9.tar.gz
semantic-data-toolkit-e5a0b7504fbea141a3b5723d759e5238541eace9.tar.bz2
semantic-data-toolkit-e5a0b7504fbea141a3b5723d759e5238541eace9.zip
Support decoding interwiki URL encoding20190412T213434Z
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rwxr-xr-xprojects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects.rb b/projects.rb
index 69a2857..e5a9eaf 100755
--- a/projects.rb
+++ b/projects.rb
@@ -64,7 +64,7 @@ projects_q.execute(graph) do |result|
project['email'] = email result[:proj_email].to_s
project['description'] = result[:proj_desc].to_s
project['irc'] = result[:proj_irc].to_s
- project['href'] = URI.decode(https(result[:proj_href].to_s))
+ project['href'] = URI.decode(https(result[:proj_href].to_s).gsub('-', '%'))
project['propagates_members'] = result[:propagates_members].to_s == 'true'
parent_id = label_to_id result[:parent_title].to_s