summaryrefslogtreecommitdiff
path: root/tests/admin_custom_urls/fixtures/actions.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_custom_urls/fixtures/actions.json')
-rw-r--r--tests/admin_custom_urls/fixtures/actions.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/admin_custom_urls/fixtures/actions.json b/tests/admin_custom_urls/fixtures/actions.json
new file mode 100644
index 0000000000..7c6341d71d
--- /dev/null
+++ b/tests/admin_custom_urls/fixtures/actions.json
@@ -0,0 +1,44 @@
+[
+ {
+ "pk": "delete",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "Remove things."
+ }
+ },
+ {
+ "pk": "rename",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "Gives things other names."
+ }
+ },
+ {
+ "pk": "add",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "Add things."
+ }
+ },
+ {
+ "pk": "path/to/file/",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "An action with '/' in its name."
+ }
+ },
+ {
+ "pk": "path/to/html/document.html",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "An action with a name similar to a HTML doc path."
+ }
+ },
+ {
+ "pk": "javascript:alert('Hello world');\">Click here</a>",
+ "model": "admin_custom_urls.action",
+ "fields": {
+ "description": "An action with a name suspected of being a XSS attempt"
+ }
+ }
+]