2011-09-20 18:30:06 +00:00
|
|
|
[
|
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "delete",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "Remove things."
|
|
|
|
}
|
2013-10-10 20:42:30 +00:00
|
|
|
},
|
2011-09-20 18:30:06 +00:00
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "rename",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "Gives things other names."
|
|
|
|
}
|
2013-10-10 20:42:30 +00:00
|
|
|
},
|
2011-09-20 18:30:06 +00:00
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "add",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "Add things."
|
|
|
|
}
|
2013-10-10 20:42:30 +00:00
|
|
|
},
|
2011-09-20 18:30:06 +00:00
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "path/to/file/",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "An action with '/' in its name."
|
|
|
|
}
|
2013-10-10 20:42:30 +00:00
|
|
|
},
|
2011-09-20 18:30:06 +00:00
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "path/to/html/document.html",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "An action with a name similar to a HTML doc path."
|
|
|
|
}
|
2013-10-10 20:42:30 +00:00
|
|
|
},
|
2011-09-20 18:30:06 +00:00
|
|
|
{
|
2013-10-10 20:42:30 +00:00
|
|
|
"pk": "javascript:alert('Hello world');\">Click here</a>",
|
|
|
|
"model": "admin_custom_urls.action",
|
2011-09-20 18:30:06 +00:00
|
|
|
"fields": {
|
|
|
|
"description": "An action with a name suspected of being a XSS attempt"
|
|
|
|
}
|
|
|
|
}
|
2012-08-26 20:54:49 +00:00
|
|
|
]
|