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 89f4152e Oops
89f4152e is described below
commit 89f4152eeee866ea985fa4b618c963673336cd58
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 26 11:09:33 2024 +0100
Oops
---
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 3657a26c..41adc6f5 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -163,7 +163,7 @@ def parse(id, site, name, podling=false)
if a_href =~ %r{^https?://} # no need to rebase this
site2 = URI.parse(a_href.gsub(' ','%20').gsub('|', '%7C')) # needs
to be a URI
else
- site2 = URI.join(site,a_href.gsub(' ','%20').gsub('|', '%7C') # HACK
+ site2 = URI.join(site,a_href.gsub(' ','%20').gsub('|', '%7C')) # HACK
end
if site2.host == uri.host and site2.path.size > 2
subpages[site2.to_s] = a