Skip to content

[BUG] Spaces in query parameters are discarded #160

@lakhoune

Description

@lakhoune
  1. Summary - If you send a GET request to the service containing space (%20 url-encoded), then the service will simply ignore the query
  2. Bug Details
    1. What? - Using the latest las2peer version (currently 1.2.3). My service permits a user to enter a search term to look up surveys on a database. On the server, this parameter should be contained in @QueryParam("q") @DefaultValue("") String query. This works fine, unless a space character is included in the query parameter. The query parameter will in that case resort to the default value "".
    2. How?/Current state - I created a working example on the miniclient-issue branch of the template service . Clone the repo, checkout the branch and build the service. The echo test will fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions