You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2020/07/08 20:33:40 UTC

[allura] branch kt/8370 created (now b188270)

This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a change to branch kt/8370
in repository https://gitbox.apache.org/repos/asf/allura.git.


      at b188270  [#8370] Enforce no trailing slash on user admin page

This branch includes the following new commits:

     new b188270  [#8370] Enforce no trailing slash on user admin page

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[allura] 01/01: [#8370] Enforce no trailing slash on user admin page

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a commit to branch kt/8370
in repository https://gitbox.apache.org/repos/asf/allura.git

commit b18827063752c5234fd27dd19c11a59f57519852
Author: Kenton Taylor <kt...@slashdotmedia.com>
AuthorDate: Wed Jul 8 20:33:23 2020 +0000

    [#8370] Enforce no trailing slash on user admin page
---
 Allura/allura/controllers/site_admin.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Allura/allura/controllers/site_admin.py b/Allura/allura/controllers/site_admin.py
index 7def94e..bf73ff7 100644
--- a/Allura/allura/controllers/site_admin.py
+++ b/Allura/allura/controllers/site_admin.py
@@ -645,6 +645,7 @@ class StatsController(object):
 class AdminUserDetailsController(object):
 
     @expose('jinja:allura:templates/site_admin_user_details.html')
+    @without_trailing_slash
     def _default(self, username, limit=25, page=0):
         user = M.User.by_username(username)
         if not user or user.is_anonymous():