Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ bytechef:
resources:
web: file:///opt/bytechef/client/
security:
content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net https://storage.googleapis.com; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; img-src 'self' data:; font-src 'self' data:; script-src: https://*.command.ai; frame-src: https://*.command.ai; img-src: https://*.command.ai; media-src: https://*.command.ai; connect-src: https://*.command.ai; style-src: https://*.command.ai;"
content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://api.commandbar.com https://cdn.jsdelivr.net https://storage.googleapis.com; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; img-src 'self' data:; font-src 'self' data:; script-src: https://*.command.ai; frame-src: https://*.command.ai; img-src: https://*.command.ai; media-src: https://*.command.ai; connect-src: https://*.command.ai https://eu.i.posthog.com; style-src: https://*.command.ai;"
sign-up:
temp-domain-list-url: #https://gist.githubusercontent.com/SimonHoiberg/f5a23b1fa3762330c8af1e9090918b63/raw/53963d0dbdd93c594fbc067cee95966156ee066b/temp-email-list.txt
# Tenant support mode (single | multi - ee only) default: single
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testAuthorizationAuthorizationTypeIsApplicable() {
AuthorizationUtils.isApplicable(applicableValue), applicableValue + " is valid");
}

for (String nonApplicableValue : getRandomNonApplicableValues()) {
for (String nonApplicableValue : getNonApplicableValues()) {
Assertions.assertFalse(
AuthorizationUtils.isApplicable(nonApplicableValue), nonApplicableValue + " is valid");
}
Expand Down Expand Up @@ -66,7 +66,7 @@ private List<String> getRandomApplicableValues() {
if (RANDOM.nextBoolean()) {
char charToReplace = name.charAt(RANDOM.nextInt(name.length()));

if (charToReplace == 95) {
if ((charToReplace == 95) || ((charToReplace > 47) && (charToReplace < 58))) {
continue;
}

Expand All @@ -82,7 +82,7 @@ private List<String> getRandomApplicableValues() {
return names;
}

private List<String> getRandomNonApplicableValues() {
private List<String> getNonApplicableValues() {
List<String> randomApplicableValues = getRandomApplicableValues();

List<String> nonApplicableValues = new ArrayList<>();
Expand Down
Loading