You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tran Hong Quan (Jira)" <se...@james.apache.org> on 2023/08/23 07:06:00 UTC

[jira] [Created] (JAMES-3936) Double URL decoding for MailAddress parsing in WebAdmin

Tran Hong Quan created JAMES-3936:
-------------------------------------

             Summary: Double URL decoding for MailAddress parsing in WebAdmin
                 Key: JAMES-3936
                 URL: https://issues.apache.org/jira/browse/JAMES-3936
             Project: James Server
          Issue Type: Bug
            Reporter: Tran Hong Quan


URL decoding is performed both by Spark and by us.

Example for forwards:

```
[http://localhost:43353/address/forwards/alice%40b.com/targets/bob%252Btag%2540b.com]
=>
[http://localhost:43353/address/forwards/alice@b.com/targets/bob%2Btag%40b.com]
=>
[http://localhost:43353/address/forwards/alice@b.com/targets/bob+tag@b.com]
```

Only one URL decoding (1 corresponding encoding) should be enough...
 - [ ] Fix it for forwards and all places related to `MailAddressParser`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org