qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7065) [Java Broker] Wrong RegEx prohibits HA VHNs with dash ("-") in host address
Date Mon, 15 Feb 2016 11:46:18 GMT

    [ https://issues.apache.org/jira/browse/QPID-7065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147247#comment-15147247

ASF subversion and git services commented on QPID-7065:

Commit 1730498 from [~lorenz.quack] in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1730498 ]

QPID-7065: [Java Broker] Fix RegEx to allow HA VHNs with dash ("-") in host address

    merged from trunk with:
    svn merge -c 1730494 ^/qpid/java/trunk

> [Java Broker] Wrong RegEx prohibits HA VHNs with dash ("-") in host address
> ---------------------------------------------------------------------------
>                 Key: QPID-7065
>                 URL: https://issues.apache.org/jira/browse/QPID-7065
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-6.0.1, qpid-java-6.1
> 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}} 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message