Skip to content

Commit

Permalink
Fix X.509 regex
Browse files Browse the repository at this point in the history
- the slash is needed to prevent matching things like
  X+509, though the portal currently prevents such strings
  getting this far.

Co-authored-by: ineilson <[email protected]>
  • Loading branch information
gregcorbett and ineilson committed Aug 9, 2022
1 parent b8d8765 commit a3f02d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/gocdb_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
<field>
<fname>TYPE</fname>
<length>255</length>
<regex>/^(X.509|OIDC Subject)$/</regex>
<regex>/^(X\.509|OIDC Subject)$/</regex>
</field>
<field>
<fname>ALLOW_WRITE</fname>
Expand Down

0 comments on commit a3f02d7

Please sign in to comment.