-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39b0ff0
commit ced50ee
Showing
6 changed files
with
102 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ meta: | |
name: 9519114.yaml | ||
tests: | ||
- test_title: 9519114-1 | ||
desc: Disable 921180 for ARGS_NAMES:_id sending an email | ||
desc: Sending an email | ||
stages: | ||
- stage: | ||
input: | ||
|
@@ -15,203 +15,34 @@ tests: | |
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
Content-Type: application/x-www-form-urlencoded | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_id=1&_id=2 | ||
uri: /post?_task=mail&_unlock=loading1709858237830&_framed=1 | ||
data: | | ||
_token=random | ||
_task=mail | ||
_action=send | ||
_id=106014434365ea5da745fb3 | ||
_attachments=empty | ||
_from=1 | ||
[email protected], | ||
_cc=empty | ||
_bcc= | ||
_replyto=empty | ||
_followupto=empty | ||
_subject=<script> | ||
_draft_saveid=empty | ||
_draft=empty | ||
_is_html=0 | ||
_framed=1 | ||
_message=<script> | ||
editorSelector=plain | ||
_mdn=empty | ||
_dsn=empty | ||
_keepformatting=empty | ||
_priority=0 | ||
_store_target=Sent | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-2 | ||
desc: Disable 921180 for ARGS_NAMES:_id composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_id=1&_id=2 | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-3 | ||
desc: Disable 921180 for ARGS_NAMES:_framed sending an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_framed=1&_framed=2 | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-4 | ||
desc: Disable 921180 for ARGS_NAMES:_framed composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_framed=1&_framed=2 | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-5 | ||
desc: Disable 921180 for ARGS_NAMES:_task sending an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_task=mail | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-6 | ||
desc: Disable 921180 for ARGS_NAMES:_task composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_task=mail | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-7 | ||
desc: Disable 921180 for ARGS_NAMES:_action sending an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_action=send | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-8 | ||
desc: Disable 921180 for ARGS_NAMES:_action composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_action=compose | ||
output: | ||
no_log_contains: id "921180" | ||
- test_title: 9519114-9 | ||
desc: Disable 942131 for destination email address when composing email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_to=Postmaster%20<[email protected]>, | ||
output: | ||
no_log_contains: id "942131" | ||
- test_title: 9519114-10 | ||
desc: Disable 942131 for destination email address when sending email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_to=Postmaster%20<[email protected]>, | ||
output: | ||
no_log_contains: id "942131" | ||
- test_title: 9519114-11 | ||
desc: Disable CRS for email subject sending an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_action=send&_subject=<script> | ||
output: | ||
no_log_contains: id "941101" | ||
- test_title: 9519114-12 | ||
desc: Disable CRS for email subject composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_action=compose&_subject=<script> | ||
output: | ||
no_log_contains: id "941101" | ||
- test_title: 9519114-13 | ||
desc: Disable CRS for email message sending an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=send&_action=send&_message=<script> | ||
output: | ||
no_log_contains: id "941101" | ||
- test_title: 9519114-14 | ||
desc: Disable CRS for email message composing an email | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: Roundcube rule exclusions plugin | ||
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 | ||
port: 80 | ||
method: POST | ||
uri: /post?_task=mail&_action=compose&_action=compose&_message=<script> | ||
output: | ||
no_log_contains: id "941101" | ||
no_log_contains: | | ||
id "(?:921180|941101|942131)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.