Sita Geßner created SHIRO-826:
---------------------------------

             Summary: HTTP 400 with encoded umlauts in URL
                 Key: SHIRO-826
                 URL: https://issues.apache.org/jira/browse/SHIRO-826
             Project: Shiro
          Issue Type: Bug
    Affects Versions: 1.7.1
            Reporter: Sita Geßner


I've updated shiro from version 1.4.2 to 1.7.1.

 

I have an rest-endpoint with an Pathvariable:
{code:java}
@RestController
@RequestMapping(value = "/inspektor/verjaehrungs-agent")
@Slf4j
public class MyRestController    

    @GetMapping("/profile/{name}")
    public Profile getProfile(@PathVariable final String name) {
        return service.getProfile(name);
    }
{code}
When requesting with the Pathvariable name "Test 123" everything works fine. 

When requesting with the Pathvariable name "Test ö" I'm getting an HTTP 400.

This error occurs also, when I encode the Pathvariable to "TEST%20%C3%B6".

 

Before the update, everything was fine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to