Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7065

[Java Broker] Wrong RegEx prohibits HA VHNs with dash ("-") in host address

    XMLWordPrintableJSON

Details

    Description

      Currently the regular expression governing the validity of the host address for HA VirtualHostNodes contains the following character class [0-9a-zA-Z.-_]
      the intention of the last part is to allow dots, dashes, and underscores. However, it is interpreted as the ASCII range between the dot (2E) and underscore (5F) which includes things like \/[]<>^=? but not the dash (2D).

      The relevant function nodeAddressOrContextVarRegexp() is in
      broker-plugins/management-http/src/main/java/resources/js/qpid/common/util.js

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: