2011-09-20 18:30:06 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
2012-08-26 20:54:49 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"pk": "The name of an action",
|
|
|
|
"model": "admin_custom_urls.action",
|
|
|
|
"fields": {
|
|
|
|
"description": "A generic action"
|
|
|
|
}
|
2011-09-20 18:30:06 +00:00
|
|
|
}
|
2012-08-26 20:54:49 +00:00
|
|
|
]
|