anchor.diff:                          CARBON.showWarningDialog('<fmt:message key="invalid.webapp.file"/>');
                           validFileNames = false;
                           break;
  -                    } else if (jarinput.indexOf("#") != -1) {
  -                        CARBON.showWarningDialog('<fmt:message key="unsupported.characters.webapp"/>');
  -                        validFileNames = false;
  -                        break;
                       } else if (validateName(jarinput, true)) {
                           CARBON.showWarningDialog('<fmt:message key="unsupported.characters.webapp"/>');
                           validFileNames = false;
  
positive.code:         }
  
          function validateName(fileName, val){
                  var regex = ".*[\\]\\[!\"#$%&'()*+,/:;<=>?@~{|}^`].*";
                  if(val == true){
                      regex = ".*[\\]\\[!\"#$%&'()*+,;<=>?@~{|}^`].*";
                  }
                  if(fileName.match(regex)){
                      return true;
  
negative.code: 
                  if (jarinput != '' && jarinput.lastIndexOf(".war") == -1) {
                      CARBON.showWarningDialog('<fmt:message key="invalid.webapp.file"/>');
                      validFileNames = false;
                  } else if (validateName(jarinput, true)) {
                      CARBON.showWarningDialog('<fmt:message key="unsupported.characters.webapp"/>');
  