Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2984

Rest Client java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 when setting http.nonProxyHosts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Undefined

      The issue seems to be here https://github.com/resteasy/Resteasy/blob/8e64b0650e0066ac1b73299affac3facd182a988/resteasy-client-microprofile-base/src/main/java/org/jboss/resteasy/microprofile/client/RestClientBuilderImpl.java#L256. I don't think it can be assumed that the host is a valid regex pattern. The networking properties documentation talks about how * is used for wildcards.

      This was originally found in Quarkus https://github.com/quarkusio/quarkus/issues/19240. There are more details there.

            rsearls r searls
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: