Bugs: Browse | Submit New | Admin

[#28086] Fix to make rubyntlm work under ruby 1.9(.1)

Date:
2010-04-12 22:58
Priority:
3
Submitted By:
Eric Young (eay)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Fix to make rubyntlm work under ruby 1.9(.1)

Detailed description
It appears that all is needed is to add a missing require, otherwise the test program hangs and the test fail.

*** lib/net/ntlm.rb.orig	2010-04-13 08:54:08.872571752 +1000
--- lib/net/ntlm.rb	2010-04-13 08:54:42.842571593 +1000
***************
*** 95,100 ****
--- 95,102 ----
  
    # module functions
      class << self
+       require 'kconv'
+ 
        def decode_utf16le(str)
          Kconv.kconv(swap16(str), Kconv::ASCII, Kconv::UTF16)
        end

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item