Skip to content
Open
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
8 changes: 8 additions & 0 deletions bb-cli/src/bb/apps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const CONTROL_PLANE_RESPONSE_MAX_BYTES: usize = 2 * 1024 * 1024;
const TRUSTED_CONTROL_PLANE_HOSTS: &[&str] = &[
"compose-ctrl.test.blockstaging.build",
"compose-ctrl.app.builderlab.xyz",
"compose-ctrl.block.builderlab.xyz",
];

pub fn command() -> Command {
Expand Down Expand Up @@ -3890,6 +3891,8 @@ mod tests {
for trusted in [
"https://compose-ctrl.test.blockstaging.build",
"https://compose-ctrl.app.builderlab.xyz",
"https://compose-ctrl.block.builderlab.xyz",
"https://compose-ctrl.block.builderlab.xyz:443",
"https://compose-ctrl.test.blockstaging.build:443",
] {
assert!(
Expand All @@ -3900,6 +3903,11 @@ mod tests {

for untrusted in [
"http://compose-ctrl.test.blockstaging.build",
"http://compose-ctrl.block.builderlab.xyz",
"https://compose-ctrl.block.builderlab.xyz.attacker.example",
"https://compose-ctrl.block.builderlab.xyz:444",
"https://user@compose-ctrl.block.builderlab.xyz",
"https://test--bpsites.apps.block.builderlab.xyz",
"https://attacker.example",
"https://test.blockstaging.build",
"https://app.builderlab.xyz",
Expand Down
Loading