diff options
Diffstat (limited to 'app/finders/uploader_finder.rb')
-rw-r--r-- | app/finders/uploader_finder.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/uploader_finder.rb b/app/finders/uploader_finder.rb index 0d1de0d56fd..e4a0e831720 100644 --- a/app/finders/uploader_finder.rb +++ b/app/finders/uploader_finder.rb @@ -16,12 +16,12 @@ class UploaderFinder retrieve_file_state! uploader - rescue ::Gitlab::Utils::PathTraversalAttackError + rescue ::Gitlab::PathTraversal::PathTraversalAttackError nil # no-op if for incorrect files end def prevent_path_traversal_attack! - Gitlab::Utils.check_path_traversal!(@file_path) + Gitlab::PathTraversal.check_path_traversal!(@file_path) end def retrieve_file_state! |