summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_custom_urls/fixtures/actions.json
blob: 7c6341d71d92e8523e51c573307fa222d8a1ecac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"
    }
  }
]