This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push: new 8ac7efea Needs to be a URI 8ac7efea is described below commit 8ac7efea44f494d0372aa386a992e41307fcf5e7 Author: Sebb <s...@apache.org> AuthorDate: Thu Apr 25 13:17:39 2024 +0100 Needs to be a URI --- tools/site-scan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/site-scan.rb b/tools/site-scan.rb index 92255621..96d1d2bd 100755 --- a/tools/site-scan.rb +++ b/tools/site-scan.rb @@ -162,7 +162,7 @@ def parse(id, site, name, podling=false) unless a_href =~ %r{^(#|mailto:)} begin if a_href =~ %r{^https?://} # no need to rebase this - site2 = a_href + site2 = URI.parse(a_href) # needs to be a URI else site2 = URI.join(site,a_href.gsub(' ','%20')) # HACK end