launchdarkly / ruby-server-sdk

LaunchDarkly Server-side SDK for Ruby
https://docs.launchdarkly.com/sdk/server-side/ruby
Other
36 stars 53 forks source link

fix: Add additional payload filter key validation #295

Closed keelerm84 closed 2 months ago

keelerm84 commented 2 months ago

Previously, we were allowing any non-empty string value to be provided as a payload filter key. However, customers can only create a filter key with a subset of characters.

In an effort to warn them earlier about potentially invalid configurations, we are adding some basic key validation work as part of the start up sequence.