You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/10/13 18:00:27 UTC
[whimsy] branch master updated: forgot about the leading slash
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 2548634 forgot about the leading slash
2548634 is described below
commit 254863446e0d56190bc1c940e3943cfc362b0926
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Oct 13 14:00:06 2017 -0400
forgot about the leading slash
---
www/board/agenda/config.ru | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/config.ru b/www/board/agenda/config.ru
index 03af951..147fa0d 100644
--- a/www/board/agenda/config.ru
+++ b/www/board/agenda/config.ru
@@ -7,7 +7,7 @@ use ASF::Auth::MembersAndOfficers do |env|
# allow access to bootstrap related content
if
%w(/app.js /sw.js /stylesheets/app.css).include? env['PATH_INFO'] or
- env['PATH_INFO'] =~ /^[-\d]+\/bootstrap.html$/
+ env['PATH_INFO'] =~ %r{^/[-\d]+/bootstrap.html$}
then
next true
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].