You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/06/09 12:14:06 UTC
[whimsy] branch master updated: allow for extra whitespace
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 c054c99 allow for extra whitespace
c054c99 is described below
commit c054c99e7d3de074c48974a6b25214b14e07243e
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jun 9 13:13:52 2019 +0100
allow for extra whitespace
---
tools/mirror_check.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/mirror_check.rb b/tools/mirror_check.rb
index e1d4104..18b81c1 100755
--- a/tools/mirror_check.rb
+++ b/tools/mirror_check.rb
@@ -216,6 +216,7 @@ def checkHTTP(base)
# - allows the input to be more flexible
# Fix up the URL
+ base.strip!
base += '/' unless base.end_with? '/'
base = 'http://' + base unless base.start_with? 'http'
# Now check the syntax: