You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/06 02:18:48 UTC

[GitHub] [apisix-dashboard] batman-ezio opened a new issue #1711: The name rule is not applied to every name input

batman-ezio opened a new issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711


   # Feature request
   
   ## currently we only check the name format in route's name, 
   with below code in frontend
   ```
    {
               pattern: new RegExp(/^[a-zA-Z][a-zA-Z0-9_-]{0,100}$/, 'g'),
               message: formatMessage({ id: 'page.route.form.itemRulesPatternMessage.apiNameRule' }),
             }
   ```
   
   but in other place, like Upstream, Service ... , we allow to input any chars
   
   ## Describe the solution you'd like
   
   extract the rule to global, and apply to all name fields
   
   ## Describe alternatives you've considered
   
   A clear and concise description of any alternative solutions or features you've considered.
   
   ## Additional context
   
   Add any other context or screenshots about the feature request here.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] stu01509 commented on issue #1711: The name rule is not applied to every name input

Posted by GitBox <gi...@apache.org>.
stu01509 commented on issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711#issuecomment-829784367


   Hi @juzhiyuan 
   
   I would like to solve this issue, could you tell me which pattern we need?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan closed issue #1711: The name rule is not applied to every name input

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #1711: The name rule is not applied to every name input

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711#issuecomment-831091790


   Hi, @stu01509 I'm back, this issue will be resolved by https://github.com/apache/apisix-dashboard/pull/1799


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #1711: The name rule is not applied to every name input

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711#issuecomment-814195975


   Thanks for your report!


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org