-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use case insensitivity for public shares when entering passwords
- Loading branch information
1 parent
b21c032
commit a02d727
Showing
2 changed files
with
47 additions
and
1 deletion.
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
45 changes: 45 additions & 0 deletions
45
tests/regression/nextcloud-rule-exclusions-plugin/9508171.yaml
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "Nextcloud Rule Exclusions Plugin" | ||
enabled: true | ||
name: 9508171.yaml | ||
tests: | ||
- test_title: 9508171-1 | ||
desc: Entering password on a public share | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS test agent | ||
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: /s/random/authenticate/showshare | ||
data: | | ||
requesttoken=random&password=%3Cscript%3E&sharingToken=random&sharingType=3 | ||
version: HTTP/1.1 | ||
output: | ||
no_log_contains: id "941101" | ||
- test_title: 9508171-2 | ||
desc: Entering password on a public share | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: OWASP CRS test agent | ||
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: /s/random/authenticate/showShare | ||
data: | | ||
requesttoken=random&password=%3Cscript%3E&sharingToken=random&sharingType=3 | ||
version: HTTP/1.1 | ||
output: | ||
no_log_contains: id "941101" |