MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / percent_decode_round_trips

Function percent_decode_round_trips

crates/openshell-core/src/secrets.rs:1554–1559  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1552
1553 #[test]
1554 fn percent_decode_round_trips() {
1555 let original = "hello world & more=stuff";
1556 let encoded = percent_encode_query(original);
1557 let decoded = percent_decode(&encoded);
1558 assert_eq!(decoded, original);
1559 }
1560
1561 // === URL path rewriting tests ===
1562

Callers

nothing calls this directly

Calls 2

percent_encode_queryFunction · 0.85
percent_decodeFunction · 0.70

Tested by

no test coverage detected