rob05c edited a comment on issue #3966: Add server capabilities API
URL: https://github.com/apache/trafficcontrol/pull/3966#issuecomment-540606171
 
 
   >Are there any restrictions on server capability name? I.e. no spaces, 
alphanumeric only, etc...
   
   The design reqs don't, I was originally thinking we'd let people put 
anything, but now that I think more about it, I think we should limit it to URI 
path chars, I.e. digit/alpha/_/-. That lets us put it in a path or query easier 
later, and I can't imagine why someone would _need_ any other chars.
   
   Someone might want, for example, Chinese characters for their names. And 
then, we could extend the feature to require/do punycode/urlencoding of high 
Unicode in paths. But that's adding a good bit of work to this feature, and 
it's much easier to allow more characters in the future without breaking 
people, than it is to remove things previously allowed.
   
   Thoughts? If no one objects, I'll put that in the blueprint (but not hold up 
this PR for it, we can easily add that in another)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to