Github user garrensmith commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/468#discussion_r33451541
  
    --- Diff: app/addons/databases/actions.js ---
    @@ -65,9 +65,9 @@ function (app, FauxtonAPI, Stores, ActionTypes, 
Resources) {
         },
     
         createNewDatabase: function (databaseName) {
    -      if (_.isNull(databaseName) || databaseName.trim().length === 0) {
    +      if (_.isNull(databaseName) || databaseName.trim().length === 0 || 
!this.isValidDatabaseName(databaseName)) {
             FauxtonAPI.addNotification({
    -          msg: 'Please enter a valid database name',
    +          msg: 'Please enter a valid database name. Only lowercase letters 
(a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are 
allowed. Moreover, the database name must begin with a letter.',
    --- End diff --
    
    What about -
    
    `Please enter a valid database name. The database must start with a letter 
and can only contain lowercase letters (a-z), digits (0-9) and the following 
characters _, $, (, ), +, -, and /.`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to