7 references to CreateSafePathSegment
aspire (1)
src\Shared\UserSecrets\AspireSecretsPathHelper.cs (1)
82var safeAppHostId = CreateSafePathSegment(appHostId);
Aspire.Cli.Tests (6)
Secrets\SecretStoreResolverTests.cs (6)
381AspireSecretsPathHelper.CreateSafePathSegment("apphost"), 382AspireSecretsPathHelper.CreateSafePathSegment(".apphost")); 384AspireSecretsPathHelper.CreateSafePathSegment("apphost"), 385AspireSecretsPathHelper.CreateSafePathSegment("apphost.")); 402var segment = AspireSecretsPathHelper.CreateSafePathSegment(appHostId); 404Assert.NotEqual(AspireSecretsPathHelper.CreateSafePathSegment($"_{appHostId}"), segment);