commit/galaxy-central: dan: Tweak for 7079:7ca527380818.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/bdea1a9aa7fc/ changeset: bdea1a9aa7fc user: dan date: 2012-04-19 17:05:10 summary: Tweak for 7079:7ca527380818. affected #: 1 file diff -r 7ca52738081826b32f57d43eff6510bd2cc1bdba -r bdea1a9aa7fc594785f69dfae3c9a63dbe510d6c lib/galaxy/security/validate_user_input.py --- a/lib/galaxy/security/validate_user_input.py +++ b/lib/galaxy/security/validate_user_input.py @@ -42,6 +42,7 @@ elif publicname not in [ 'None', None, '' ]: publicname = publicname.lower() publicname = re.sub( VALID_PUBLICNAME_SUB, FILL_CHAR, publicname ) + publicname = publicname.ljust( 4, FILL_CHAR )[:255] if not trans.sa_session.query( trans.app.model.User ).filter_by( username=publicname ).first(): return publicname return '' Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket