Skip to content

Commit

Permalink
Fix ENG-3650. Allow alphanumeric, underscore, dollar, period, and at …
Browse files Browse the repository at this point in the history
…sign. DDLCompiler uses "([\\w.$]+)" to match. I allowed @ to allow users to use new system procedures without updating the client library.
  • Loading branch information
MichaelGG committed Mar 9, 2013
1 parent 91bbcc6 commit fa0f506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VoltDB.Data.Client/Connections/ProcedureAccess.cs
Expand Up @@ -51,7 +51,7 @@ internal ProcedureAccess(VoltConnection executor)
/// Regular expression used to validate tokens (procedure names only for now) (will make sure the name doesn't
/// have any @ sign, or other invalid character for that matter).
/// </summary>
private Regex TokenValidator = new Regex("^[a-zA-Z0-9_]*$");
private Regex TokenValidator = new Regex("^[a-zA-Z0-9_.$@]*$");

/// <summary>
/// Validate the procedure name (alpahnumeric only, no @)
Expand Down
2 changes: 1 addition & 1 deletion VoltDB.Data.Client/Connections/ProcedureWrapper[T].tt
Expand Up @@ -261,7 +261,7 @@ namespace VoltDB.Data.Client
/// Regular expression used to validate tokens (procedure names only for now) (will make sure the name doesn't
/// have any @ sign, or other invalid character for that matter).
/// </summary>
private Regex TokenValidator = new Regex("^[a-zA-Z0-9_]*$");
private Regex TokenValidator = new Regex("^[a-zA-Z0-9_.$@]*$");

/// <summary>
/// Validate the procedure name (alpahnumeric only, no @)
Expand Down

0 comments on commit fa0f506

Please sign in to comment.