summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprojects.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects.rb b/projects.rb
index 31a90e1..45d121b 100755
--- a/projects.rb
+++ b/projects.rb
@@ -6,6 +6,7 @@ require_relative 'lib/vocabulary'
require 'backports/2.1.0/array/to_h'
require 'json'
require 'rdf/rdfxml'
+require 'uri'
include RDF
abort "Usage: #{$PROGRAM_NAME} <RDF graph file or URL>" unless ARGV.first
@@ -63,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'] = https result[:proj_href].to_s
+ project['href'] = URI.decode(https(result[:proj_href].to_s))
project['propagates_members'] = result[:propagates_members].to_s == 'true'
parent_id = label_to_id result[:parent_title].to_s