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

Benoit Tellier commented on JAMES-2950:
---------------------------------------

https://github.com/linagora/james-project/pull/2841 proposed a rewritte of RRT 
regex tests.

RRT regex was trying to fit a 'regex' in a string representing a Username. 
Tests were actively testing this bug, causing the tests to be meaningless.

This PR:
 - Rewrite the test in order not to rely exclusively on error buggy handling, 
which also makes the feature easier to understand.
 - Did fix the buggy error handling.

> Username should not accept some special characters
> --------------------------------------------------
>
>                 Key: JAMES-2950
>                 URL: https://issues.apache.org/jira/browse/JAMES-2950
>             Project: James Server
>          Issue Type: Bug
>            Reporter: René Cordier
>            Priority: Major
>             Fix For: 3.5.0
>
>
> Able to create username with some special characters that should be 
> restricted, such as:  space and {{"(),:;<>@[\]}}
>  
> We should for more safety and reduce complexity not allow the use of those 
> for the username (more specifically, the local-part of the user address)



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

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

Reply via email to