Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 531495

Summary: Node server does not forbid certain characters from user names
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 17.0   
Target Milestone: 18.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2018-02-21 14:43:48 EST
In the Java server, anything not a letter or digit was considered a 'bad character' for a username. We need to support the same thing in the Node server.

The Java server simply called Character.isLetterOrDigit(...) to determine suitability.
Comment 1 Michael Rennie CLA 2018-02-22 13:29:19 EST
Fixed (+tests) in:

https://github.com/eclipse/orion.client/commit/fb8ef36a3e77966ffca5d897aeb283d679484d2d

The fix also adds proper support for the 'orion.auth.disable.account.rules' configuration option.