File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ client:
177
177
# # Validation Regex on the request SDK Key
178
178
# # By default Agent assumes only alphanumeric characters as part of the SDK Key string.
179
179
# # https://github.com/google/re2/wiki/Syntax
180
- sdkKeyRegex : " ^\\ w +(:\\ w +)?$"
180
+ SdkKeyRegex : " ^[a-zA-Z0-9=-] +(:[a-zA-Z0-9=-] +)?$"
181
181
# # configure optional User profile service
182
182
userProfileService :
183
183
default : " "
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ func NewDefaultConfig() *AgentConfig {
82
82
DatafileURLTemplate : "https://cdn.optimizely.com/datafiles/%s.json" ,
83
83
EventURL : "https://logx.optimizely.com/v1/events" ,
84
84
// https://github.com/google/re2/wiki/Syntax
85
- SdkKeyRegex : "^\\ w +(:\\ w +)?$" ,
85
+ SdkKeyRegex : "^[a-zA-Z0-9=-] +(:[a-zA-Z0-9=-] +)?$" ,
86
86
UserProfileService : UserProfileServiceConfigs {
87
87
"default" : "" ,
88
88
"services" : map [string ]interface {}{},
You can’t perform that action at this time.
0 commit comments