Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.1.0.DR9
    • Fix Version/s: 7.1.0.DR10
    • Component/s: CLI
    • Labels:
      None

      Description

      https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/java/org/jboss/as/cli/handlers/DefaultFilenameTabCompleter.java#L65

      needsEscape = needsEscape || containsQuote;
      ....
      EscapeSelector escSelector = containsQuote && !needsEscape
      ? QUOTES_ONLY_ESCAPE_SELECTOR : ESCAPE_SELECTOR;
      

      QUOTES_ONLY_ESCAPE_SELECTOR will be never used, because containsQuote would have to be true and needsEscape false. But because of needsEscape = needsEscape || containsQuote needsEscape will be always true when containsQuote is true.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jdenise Jean Francois Denise
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: