diff options
Diffstat (limited to 'test/w3c/ecma/test520.scxml')
-rw-r--r-- | test/w3c/ecma/test520.scxml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/w3c/ecma/test520.scxml b/test/w3c/ecma/test520.scxml index daaf3a8..cfef477 100644 --- a/test/w3c/ecma/test520.scxml +++ b/test/w3c/ecma/test520.scxml @@ -9,8 +9,10 @@ </send> </onentry> - <!-- if other end sends us back this event, we succeed --> - <transition event="HTTP.POST" cond="_event.raw.search(/this is some content/) !== -1" target="pass"/> + <!-- if other end sends us back this event, we succeed. Test for two common + ways of encoding --> + <transition event="HTTP.POST" cond="_event.raw.search(/this+is+some+content/) !== -1" target="pass"/> + <transition event="HTTP.POST" cond="_event.raw.search(/this%20is%20some%20content/) !== -1" target="pass"/> <transition event="*" target="fail"/> </state> |