upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/specs/grasp01/cors.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-23 13:55:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-23 13:55:34 +0000
commit2ce9b2831e3af536f31491344abdf4b897f67a69 (patch)
tree7836686c56ed087ac3be533e1e529de668fac406 /grasp-audit/src/specs/grasp01/cors.rs
parenta996defa7efd75dd9f1bbe921b6f49ac697672a0 (diff)
audit: updated grasp01 line refs to reflect purgatory insertion
Diffstat (limited to 'grasp-audit/src/specs/grasp01/cors.rs')
-rw-r--r--grasp-audit/src/specs/grasp01/cors.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/grasp-audit/src/specs/grasp01/cors.rs b/grasp-audit/src/specs/grasp01/cors.rs
index 409f2d3..f8b5f3b 100644
--- a/grasp-audit/src/specs/grasp01/cors.rs
+++ b/grasp-audit/src/specs/grasp01/cors.rs
@@ -44,7 +44,7 @@ impl CorsTests {
44 pub async fn test_cors_allow_origin(_client: &AuditClient, relay_domain: &str) -> TestResult { 44 pub async fn test_cors_allow_origin(_client: &AuditClient, relay_domain: &str) -> TestResult {
45 TestResult::new( 45 TestResult::new(
46 "cors_allow_origin", 46 "cors_allow_origin",
47 "GRASP-01:git-http:cors:44", 47 "GRASP-01:git-http:cors:50",
48 "Access-Control-Allow-Origin: * on all responses", 48 "Access-Control-Allow-Origin: * on all responses",
49 ) 49 )
50 .run(|| { 50 .run(|| {
@@ -90,7 +90,7 @@ impl CorsTests {
90 pub async fn test_cors_allow_methods(_client: &AuditClient, relay_domain: &str) -> TestResult { 90 pub async fn test_cors_allow_methods(_client: &AuditClient, relay_domain: &str) -> TestResult {
91 TestResult::new( 91 TestResult::new(
92 "cors_allow_methods", 92 "cors_allow_methods",
93 "GRASP-01:git-http:cors:45", 93 "GRASP-01:git-http:cors:51",
94 "Access-Control-Allow-Methods: GET, POST on all responses", 94 "Access-Control-Allow-Methods: GET, POST on all responses",
95 ) 95 )
96 .run(|| { 96 .run(|| {
@@ -134,7 +134,7 @@ impl CorsTests {
134 pub async fn test_cors_allow_headers(_client: &AuditClient, relay_domain: &str) -> TestResult { 134 pub async fn test_cors_allow_headers(_client: &AuditClient, relay_domain: &str) -> TestResult {
135 TestResult::new( 135 TestResult::new(
136 "cors_allow_headers", 136 "cors_allow_headers",
137 "GRASP-01:git-http:cors:46", 137 "GRASP-01:git-http:cors:52",
138 "Access-Control-Allow-Headers: Content-Type on all responses", 138 "Access-Control-Allow-Headers: Content-Type on all responses",
139 ) 139 )
140 .run(|| { 140 .run(|| {
@@ -181,7 +181,7 @@ impl CorsTests {
181 ) -> TestResult { 181 ) -> TestResult {
182 TestResult::new( 182 TestResult::new(
183 "cors_options_preflight", 183 "cors_options_preflight",
184 "GRASP-01:git-http:cors:47", 184 "GRASP-01:git-http:cors:53",
185 "OPTIONS requests return 204 No Content", 185 "OPTIONS requests return 204 No Content",
186 ) 186 )
187 .run(|| { 187 .run(|| {