diff options
author | korgoth1 <vladislav.stakhov@gmail.com> | 2019-12-07 23:46:50 +0300 |
---|---|---|
committer | korgoth1 <vladislav.stakhov@gmail.com> | 2019-12-07 23:46:50 +0300 |
commit | 1e38f5941625b4b45bd56169e4741471817a881a (patch) | |
tree | bc4ca0def50b19ac0198652ea98f648f12981ecb /test/functional | |
parent | d6a1a0f31fa4e8d72faef0f9536cc179b42c37a9 (diff) | |
download | rspamd-1e38f5941625b4b45bd56169e4741471817a881a.tar.gz rspamd-1e38f5941625b4b45bd56169e4741471817a881a.zip |
[Test] SPF for relay
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/cases/340_surbl.robot | 3 | ||||
-rw-r--r-- | test/functional/messages/url10.eml | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot index 5137223bf..71bd4285a 100644 --- a/test/functional/cases/340_surbl.robot +++ b/test/functional/cases/340_surbl.robot @@ -141,6 +141,9 @@ SURBL IDN Punycode domain Should Not Contain ${result.stdout} DBL_PHISH Should Not Contain ${result.stdout} URIBL_BLACK +SURBL html entity ­ + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url10.eml + Should Contain ${result.stdout} RSPAMD_URIBL *** Keywords *** Surbl Setup diff --git a/test/functional/messages/url10.eml b/test/functional/messages/url10.eml new file mode 100644 index 000000000..3b43e9e08 --- /dev/null +++ b/test/functional/messages/url10.eml @@ -0,0 +1,4 @@ +Content-Type: text/html +Content-Transfer-Encoding: quoted-printable + +<a href="https:/\test­test.­com/redirect?url=https%3A%2F%2Fexample%2Ecom&urlhash=rH0t#100xp@example.com">
\ No newline at end of file |