Show More
@@ -377,7 +377,8 b' class FilesController(BaseRepoController' | |||||
377 | 'contain .. in path'), category='warning') |
|
377 | 'contain .. in path'), category='warning') | |
378 | return redirect(url('changeset_home', repo_name=c.repo_name, |
|
378 | return redirect(url('changeset_home', repo_name=c.repo_name, | |
379 | revision='tip')) |
|
379 | revision='tip')) | |
380 | location = os.path.normpath(location) |
|
380 | if location: | |
|
381 | location = os.path.normpath(location) | |||
381 | filename = os.path.basename(filename) |
|
382 | filename = os.path.basename(filename) | |
382 | node_path = os.path.join(location, filename) |
|
383 | node_path = os.path.join(location, filename) | |
383 | author = self.rhodecode_user.full_contact |
|
384 | author = self.rhodecode_user.full_contact |
General Comments 0
You need to be logged in to leave comments.
Login now