1. 20 Feb, 2020 1 commit
  2. 19 Feb, 2020 1 commit
  3. 14 Feb, 2020 1 commit
  4. 13 Feb, 2020 1 commit
  5. 04 Feb, 2020 1 commit
  6. 23 Jan, 2020 1 commit
  7. 29 Dec, 2019 2 commits
  8. 26 Dec, 2019 1 commit
  9. 18 Dec, 2019 1 commit
  10. 03 Dec, 2019 1 commit
    • asraa's avatar
      Add C++ Pattern Validation (#286) · 76a97890
      asraa authored
      
      Envoy now uses RE2 as a safe regex engine instead of std::regex (envoyproxy/envoy#7878). Because PGV already requires patterns to use RE2 syntax, one option is to use RE2 for C++ patterns as well. This implements it, for use in strings, bytes, repeated items, and may key/value pattern validation.
      
      Implements #22
      
      WIP: I ran in to difficulty creating the regex because a regex containing a null character would get cut off... for example, the ascii character test used the pattern, ^[\x00-x7f]+$, and consuming this as a string resulted in creating a null-terminated string pattern ^[ instead of the actual pattern. I think this might be a problem across most of the C++ code? That's why there's a terrible string construction in the pattern creation.
      
      Signed-off-by: default avatarAsra Ali <asraa@google.com>
      76a97890
  11. 11 Nov, 2019 1 commit
  12. 05 Nov, 2019 1 commit
  13. 04 Nov, 2019 1 commit
  14. 21 Oct, 2019 1 commit
  15. 10 Oct, 2019 1 commit
  16. 04 Sep, 2019 1 commit
  17. 27 Aug, 2019 1 commit
  18. 20 Aug, 2019 1 commit
  19. 15 Aug, 2019 1 commit
    • Cynthia Coan's avatar
      implement utf-8 length for c++ validation (#256) · 26c870b6
      Cynthia Coan authored
      
      * implement utf-8 length for c++ validation
      
      this commit implements utf-8 length string checking in C++ for
      validations, and updates the readme table.
      
      ---
      
      there's also a small update to the gitignore, to ignore a __pycache__
      dir that was created for me when running make ci locally inside of
      docker.
      
      Signed-off-by: default avatarCynthia Coan <ccoan@instructure.com>
      
      * don't print numbers as hex in errors
      
      we will now just print the decimal representation instead of hex,
      because it's just more user friendly.
      
      Signed-off-by: default avatarCynthia Coan <ccoan@instructure.com>
      26c870b6
  20. 14 Aug, 2019 2 commits
  21. 08 Aug, 2019 1 commit
  22. 02 Aug, 2019 2 commits
  23. 26 Jul, 2019 1 commit
  24. 23 Jul, 2019 1 commit
  25. 21 Jul, 2019 1 commit
  26. 19 Jul, 2019 2 commits
  27. 18 Jul, 2019 2 commits
  28. 17 Jul, 2019 2 commits
  29. 09 Jul, 2019 2 commits
  30. 02 Jul, 2019 1 commit
  31. 27 Jun, 2019 1 commit
  32. 24 Jun, 2019 2 commits