When we hit the API with special characters i.e. http://localhost:8080/search - (Js - on). Micronaut 3 responds with success(200). We should expect success from Micronaut 4 for the example API call.
Actual Behaviour
But we are getting 404 on calling http://localhost:8080/search - (Js - on).
Steps To Reproduce
Create a controller with the Path parameter
In the path parameter, we should pass special characters when we call the API
Note: We have created a GitHub repository that contains two branches(i.e. one for Micronaut 3.0 and another for Micronaut 4.0). We can use the gradle run command to run the application.
Expected Behavior
When we hit the API with special characters i.e.
http://localhost:8080/search - (Js - on)
. Micronaut 3 responds with success(200). We should expect success from Micronaut 4 for the example API call.Actual Behaviour
But we are getting 404 on calling
http://localhost:8080/search - (Js - on)
.Steps To Reproduce
Environment Information
Example Application
https://github.com/AshPrajapati/Micronaut-Special-Character-URL-Issue/tree/micronaut-4
Version
Version: 4.4.0
Note: We have created a GitHub repository that contains two branches(i.e. one for Micronaut 3.0 and another for Micronaut 4.0). We can use the
gradle run
command to run the application.