You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/30 22:09:47 UTC
[GitHub] mrutkows opened a new issue #423: Validate Entity names match allowed REGEX (client side)
mrutkows opened a new issue #423: Validate Entity names match allowed REGEX (client side)
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/423
Regex used at server-side is:
protected[core] val REGEX = raw"\A([\w]|[\w][\w@ .-]{0,${ENTITY_NAME_MAX_LENGTH - 2}}[\w@.-])\z"
private val entityNamePattern = REGEX.r.pattern // compile once
where: ENTITY_NAME_MAX_LENGTH=256
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services