jersey
  1. jersey
  2. JERSEY-1167

Using encoded slash (%2F) in path parameter fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-m05, 2.0
    • Component/s: None
    • Labels:
      None

      Description

      For the following resource:

      @Path("/test/

      {p}

      ")
      public static class EncodedSlashResource {

      @GET
      public String get(@PathParam("p") String p)

      { return p; }

      }

      final Response response = target().path("test/one%2Ftwo").request().get();

      should return one/two, but 404 is returned back

        Issue Links

          Activity

          Hide
          Jakub Podlesak added a comment -

          this issue blocks GF integration

          Show
          Jakub Podlesak added a comment - this issue blocks GF integration
          Hide
          Jakub Podlesak added a comment -

          fix merged into master branch

          Show
          Jakub Podlesak added a comment - fix merged into master branch

            People

            • Assignee:
              Jakub Podlesak
              Reporter:
              Jakub Podlesak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h