You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kuzds (via GitHub)" <gi...@apache.org> on 2023/12/05 14:56:22 UTC
[I] help request: how to use regex in request-validation plugin. It doesnt work [apisix]
kuzds opened a new issue, #10598:
URL: https://github.com/apache/apisix/issues/10598
### Description
Example doesn't work
```
{
"body_schema": {
"type": "object",
"required": ["regex_payload"],
"properties": {
"regex_payload": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "[[^[a-zA-Z0-9_]+$]]"
}
}
}
}
```
### Environment
- APISIX 3.6
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: how to use regex in request-validation plugin. It doesnt work [apisix]
Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10598:
URL: https://github.com/apache/apisix/issues/10598#issuecomment-1842104981
what do you mean by "example doesn't work" could you please share the request that you made to apisix that didn't work?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: how to use regex in request-validation plugin. It doesnt work [apisix]
Posted by "kuzds (via GitHub)" <gi...@apache.org>.
kuzds closed issue #10598: help request: how to use regex in request-validation plugin. It doesnt work
URL: https://github.com/apache/apisix/issues/10598
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: how to use regex in request-validation plugin. It doesnt work [apisix]
Posted by "kuzds (via GitHub)" <gi...@apache.org>.
kuzds commented on issue #10598:
URL: https://github.com/apache/apisix/issues/10598#issuecomment-1842226153
This example from apisix documentation for request-validation plugin
Route couldn't be created due to unnecessary square brackets in "pattern" field.
Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org