diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-04 22:41:13 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-11-04 22:41:13 +0000 |
commit | 828d9e44d4417ca9ee3831919d6023492805b7a9 (patch) | |
tree | 773c464f98092b7fefc1b6b974f6e966f692f3ad /rdiff-backup/rdiff_backup/Security.py | |
parent | 070e5c4080dac3de8e26a7d5d7314ceb36d32440 (diff) | |
download | rdiff-backup-828d9e44d4417ca9ee3831919d6023492805b7a9.tar.gz |
Added metadata diffing, and an iterfile hash bugfix
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@669 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Security.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Security.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py index ba61c60..55a8f37 100644 --- a/rdiff-backup/rdiff_backup/Security.py +++ b/rdiff-backup/rdiff_backup/Security.py @@ -206,12 +206,12 @@ def vet_request(request, arglist): """Examine request for security violations""" #if Globals.server: sys.stderr.write(str(request) + "\n") security_level = Globals.security_level + if security_level == "override": return if Globals.restrict_path: for arg in arglist: if isinstance(arg, rpath.RPath): vet_rpath(arg) if request.function_string in file_requests: vet_filename(request, arglist) - if security_level == "override": return if request.function_string in allowed_requests: return if request.function_string in ("Globals.set", "Globals.set_local"): if arglist[0] not in disallowed_server_globals: return |