Uploaded image for project: 'Atlassian Cloud'
  1. Atlassian Cloud
  2. CLOUD-8381

Cloud User Management allow usernames to be created with blank spaces on it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Medium Medium
    • None
    • None

      The User Management on the Atlassian Cloud platform allow the usage of invalid characters when setting an username.
      This seems to be specially affecting Confluence ability to send emails to this users:

       SoyTofuException: When evaluating "sourceLink(baseUrl() + '/display/~' + $user.name)": While computing function "sourceLink(baseUrl() + '/display/~' + $user.name)": Illegal character in path at index 49: https://xoomcorp.atlassian.net/wiki/display/~andre borzzatto?src=mail&src.mail.timestamp=1446663123716&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=ff8080813fbba9cd013fbbaab3900071
      2015-11-04 10:52:03.819621500 2015-11-04 10:52:03,819 ERROR [NotificationSender:thread-3] [plugin.notifications.dispatcher.NotificationErrorRegistryImpl] addError Error sending notification to server '<Unknown>'(-1) for INDIVIDUAL task (resent 3 times): Error generating message for server 'System Mail' on medium 'mail' for user 'ff80808143651aed014368a310830004'.
      

      Steps to reproduce

      1. Create a user with any credentials on it;
      2. Edit this user and set a username with a blank space on it, for example;

      Expected results
      Scenario 1:

      1. It should be impossible to create users with invalid characters on it;
      2. An error message should be displayed to the customer in this case.

      Scenario 2:

      1. The Confluence mailing system should be able to handle this characters.

      Actual results
      No messages are sent to this user about notifications.

              Unassigned Unassigned
              aborzzatto Andre Borzzatto
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: