[ 
https://issues.apache.org/jira/browse/SHIRO-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383141#comment-17383141
 ] 

Sita Geßner commented on SHIRO-826:
-----------------------------------

Hello Benjamin,

I've reuploaded the files. I'm using tomcat for my webapplication, so the HTTP 
Requests are logged in a different logfile.

 [^debug.log]  [^localhost_access_log.2021-07-19.txt] 

In the localhost_access_log on line 44 the HTTP 400 occured with the encoded 
"Test ö" in the URL.
On line 47 I've did the request with "Test 123" in the URL.
 
If you need further details please explain for which package I should activate 
debug-logging.

> 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
>            Priority: Major
>         Attachments: debug.log, error-request-with-umlauts.png, 
> localhost_access_log.2021-07-19.txt, success-request-without-umlauts.png
>
>
> 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