mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix FLEXIAPI-297 Fix PrId and CallId validations
This commit is contained in:
parent
cf0b835ae4
commit
83b5e66644
3 changed files with 3 additions and 2 deletions
|
|
@ -36,6 +36,7 @@ v1.7
|
|||
- Fix FLEXIAPI-286 Send an account_recovery_token using a push notification and protect the account recovery using phone page with the account_recovery_token
|
||||
- Fix FLEXIAPI-293 Remove the (long) outdated general documentation
|
||||
- Fix FLEXIAPI-224 Add a console script to send Space Expiration emails
|
||||
- Fix FLEXIAPI-297 Fix PrId and CallId validations
|
||||
|
||||
v1.6
|
||||
----
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class CallId implements Rule
|
|||
{
|
||||
public function passes($attribute, $value)
|
||||
{
|
||||
return Validator::regex('/^[\w\-]+$/')->validate($value);
|
||||
return Validator::regex('/^[\w\-~]+$/')->validate($value);
|
||||
}
|
||||
|
||||
public function message()
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class PnPrid implements Rule
|
|||
{
|
||||
public function passes($attribute, $value)
|
||||
{
|
||||
return $value == null || Validator::regex('/^[\w\-\:]+$/')->validate($value);
|
||||
return $value == null || Validator::regex('/^[\w\_\-\:]+$/')->validate($value);
|
||||
}
|
||||
|
||||
public function message()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue