diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-04-12 23:31:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-12 23:32:57 +0200 |
commit | e5a0b7504fbea141a3b5723d759e5238541eace9 (patch) | |
tree | 24e540a341de83d69a014aba13894ea20e9dc306 /projects.rb | |
parent | Clean up one further backports reference (diff) | |
download | semantic-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>
Diffstat (limited to 'projects.rb')
-rwxr-xr-x | projects.rb | 2 |
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 |