Project

General

Profile

« Previous | Next » 

Revision 45e05273

Added by Stephen Benjamin about 10 years ago

fixes #1809 - freeipa integration to smartproxy

View differences:

lib/proxy/util.rb
require 'open3'
require 'shellwords'
require 'base64'
module Proxy::Util
......
Shellwords.escape(command)
end
end
def strict_encode64(str)
if Base64.respond_to?(:strict_encode64)
Base64.strict_encode64(str)
else
Base64.encode64(str).delete("\n")
end
end
end

Also available in: Unified diff