Skip to content

Commit

Permalink
Allow back and forward slash in payment request descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsorcery committed Oct 8, 2023
1 parent ee23c63 commit 198f427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NoFrixion.MoneyMoov/Constants/PaymentRequestConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ namespace NoFrixion.MoneyMoov;

public class PaymentRequestConstants
{
public const string DESCRIPTION_ALLOWED_CHARS_REGEX = @"[a-zA-Z0-9\-_\.@&\*%\$#!:;'""()\[\] ]+";
public const string DESCRIPTION_ALLOWED_CHARS_REGEX = @"[a-zA-Z0-9\-_\.@&\*%\$#!:;'""()\[\]\/\\ ]+";

public const string DESCRIPTION_ERROR_MESSAGE =
@"The Description can only contain alphanumeric characters and -_.@&*%$#!:;'"" and space.";
@"The Description can only contain alphanumeric characters and -_.@&*%$#!:;'""/\ and space.";

public const string CUSTOMER_ID_CHARS_REGEX = @"[a-zA-Z0-9\-]+";

Expand Down

0 comments on commit 198f427

Please sign in to comment.