security in path list
This commit is contained in:
@@ -1036,6 +1036,18 @@
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"root": {
|
||||
"type": "string"
|
||||
},
|
||||
"allowed_roots": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"fallback": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -5685,7 +5697,8 @@
|
||||
"sessionCookie": []
|
||||
}
|
||||
],
|
||||
"summary": "Browse server directories"
|
||||
"summary": "Browse allowed rTorrent directories",
|
||||
"description": "Lists only the rTorrent home or default download directory tree. Requests outside these roots fall back to the default download directory."
|
||||
}
|
||||
},
|
||||
"/api/path/default": {
|
||||
|
||||
Reference in New Issue
Block a user