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