Thing 2.0 cut 7a: a url with a space or a control character is refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e920c6f766
commit
26501b0340
1 changed files with 2 additions and 0 deletions
|
|
@ -647,6 +647,8 @@ fn an_effect_core_will_not_run_makes_the_result_malformed_and_clears_nothing() {
|
|||
open_external("file:///etc/passwd", command("after")),
|
||||
open_external("https://", command("after")),
|
||||
open_external("https://ok.test/\nx", command("after")),
|
||||
open_external("https://ok.test/a b", command("after")),
|
||||
open_external("https://ok.test/\u{7f}", command("after")),
|
||||
open_external("https://ok.test/", CommandRef::Param(param("p"))),
|
||||
open_external("https://ok.test/", command("undeclared")),
|
||||
Effect::OpenSurface(OpenSurfaceEffect { key: "thing:asset_catalog:x.y".into() }),
|
||||
|
|
|
|||
Loading…
Reference in a new issue