• Tim Gross's avatar
    variables: restrict allowed paths for variables · 0aa24266
    Tim Gross authored
    Restrict variable paths to RFC3986 URL-safe characters that don't conflict with
    the use of characters "@" and "." in `template` blocks. This prevents users from
    writing variables that will require tricky templating syntax or that they simply
    won't be able to use.
    
    Also restrict the length so that a user can't make queries in the state store
    unusually expensive (as they are O(k) on the key length).
    0aa24266