Project

General

Profile

Revision b20500a9

Added by Thomas McKay almost 2 years ago

fixes #24370 - don't log binary upload contents

View differences:

lib/runcible/resources/content.rb
27 27
      # @param  [File]    content    content of the file being uploaded to the server
28 28
      # @return  [RestClient::Response] none
29 29
      def upload_bits(upload_id, offset, content)
30
        call(:put, upload_path("#{upload_id}/#{offset}/"), :payload => content)
30
        call(:put, upload_path("#{upload_id}/#{offset}/"), :payload => content, :no_log_payload => true)
31 31
      end
32 32

  
33 33
      # Import into a repository

Also available in: Unified diff