Skip to content

How to accept Illegal character in query string with ServletHttpHandlerAdapter  #25274

Closed as not planned
@et00448

Description

@et00448

Hello all,

For legacy reasons in my project based on spring boot 2.2.5 and spring cloud Hoxton.SR4, we should accept non URL encoded character "|" in query string.
We had set the "server.tomcat.relaxed-query-chars=|" in order to let coyotte connector accept this non URL encode character.
But I am facing an issue with ServletHttpHandlerAdapter -> Failed to get request URL: Illegal character in query
How can I deal with illegal caracters in ServletHttpHandlerAdapter like the server.tomcat.relaxed-query-chars do?
Thank's

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions