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

Encoding problem in UriInfo initialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 1.0.1.GA
    • Beta 8
    • None
    • None

      When using one of the characters '@', '+', '&' in URL paths (e.g. http://localhost:8080/rest/test/user/@create)
      the following exception is thrown:

      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1768)
      at org.jboss.resteasy.specimpl.UriInfoImpl.<init>(UriInfoImpl.java:95)
      at org.jboss.resteasy.plugins.server.servlet.ServletUtil.extractUriInfo(ServletUtil.java:62)

            patriot1burke@gmail.com Bill Burke (Inactive)
            bstefanescu Bogdan Stefanescu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: