whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: fix short links
Date Fri, 10 Nov 2017 16:17:21 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 89a2a8c  fix short links
89a2a8c is described below

commit 89a2a8c766a8cabd9943968293a62b00b3800a0b
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Fri Nov 10 11:16:57 2017 -0500

    fix short links
---
 www/board/agenda/routes.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index c56b267..4c70149 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -389,7 +389,7 @@ get '/new' do
   # try to shorten time zone link
   begin
     shorten = 'http://www.timeanddate.com/createshort.html?url=' +
-      URI.escape(path + '&msg=ASF+Board+Meeting') + '&confirm=1'
+      CGI.escape(path) + '&confirm=1'
     shorten = URI.parse(shorten).read[/id=selectable>(.*?)</, 1]
     @tzlink = shorten if shorten
   end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message