summaryrefslogtreecommitdiff
path: root/changelogs/unreleased
diff options
context:
space:
mode:
authordrew cimino <dcimino@gitlab.com>2019-06-12 18:20:41 -0400
committerdrew cimino <dcimino@gitlab.com>2019-06-13 14:10:45 -0400
commit74dda8858bf8299389547b7702e08e54049c04a0 (patch)
tree1c8799ac916dd9e6f37ffcd4255ef3c31d90ae64 /changelogs/unreleased
parentb05de5a583e35931967dcc70d2f26f568c9cf0db (diff)
downloadgitlab-ce-untrusted-regexp-match-groups-bugfix.tar.gz
Wrap all UntrustedRegexp patterns in () for RE2untrusted-regexp-match-groups-bugfix
- Add () wrapping to all patterns in UntrustedRegexp#scan_regex - Opt in to match-data formatting for patterns with match groups, since they all do now - Add Matches operator and statement specs reproducing the reported error, with correct result values
Diffstat (limited to 'changelogs/unreleased')
-rw-r--r--changelogs/unreleased/untrusted-regexp-match-groups-bugfix.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/untrusted-regexp-match-groups-bugfix.yml b/changelogs/unreleased/untrusted-regexp-match-groups-bugfix.yml
new file mode 100644
index 00000000000..daa0ae5bff3
--- /dev/null
+++ b/changelogs/unreleased/untrusted-regexp-match-groups-bugfix.yml
@@ -0,0 +1,5 @@
+---
+title: consistently wrap UntrustedRegexp patterns in () for RE2
+merge_request: 29575
+author:
+type: fixed