Bug #7854
closed
OpenVPN Remote Access Server Setup Wizard - Regex too strict
Added by Ryan Skinner about 7 years ago.
Updated about 7 years ago.
Description
In the OpenVPN Remote Access Server Setup Wizard, when trying to input a valid email, "The following input errors were detected:
Please limit Certificate field names to only the following characters: A-Z, a-z, space, underscore, and dash."
Upon removal of any input in E-mail field: "Please enter all information for the new Certificate Authority."
Cannot Add new CA on this screen.
- Category set to OpenVPN
- Status changed from New to Confirmed
- Assignee set to Jim Pingle
- Target version set to 2.4.1
- Affected Version set to All
In light of #7540 all of that validation probably does need to be revisited soonish. There are relatively few restrictions now, the wizard will need to catch up.
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
- Target version changed from 2.4.1 to 2.4.0
After inspecting the code, this was a bit easier than I expected it to be, so I pushed a fix.
- Status changed from Feedback to Resolved
The wizard now allows the user to use any characters they want in certificate fields and escapes them properly before creating the CA/Certs, just like the certificate manager does directly.
Also available in: Atom
PDF