pyu10055 / ntlm-http

ntlm authentication for http
13 stars 14 forks source link

fix UTF16 BOM removal problem on ruby 1.9.2 #7

Closed trampoline closed 11 years ago

trampoline commented 13 years ago

hi ping,

here's a fix for the problem with the BOM removal regexp on ruby 1.9.2

it's tested on both

ruby-1.9.2-p180 [ x86_64 ] ruby-1.8.7-p334 [ x86_64 ]

against an Exchange 2010 SP1 server with NTLM authentication

it seems there are further problems with the ntlm_http.rb on ruby 1.9.2, but i authenticated fine using latest httpclient and 'net/ntlm' portion of pyu-ntlm-http gem, so i will raise another bug for the other problems

lxcid commented 13 years ago

This fix my problem. Thanks.

ramonpin commented 12 years ago

Same problem under Linux. This could be a good merge. Thx.

lxcid commented 12 years ago

I had fork the repo @ http://github.com/lxcid/ntlm-http that is bundler friendly.

Just have the following line in your Gemfile

gem "pyu-ntlm-http", :git => "git://github.com/lxcid/ntlm-http.git", :branch =>"1.9_utf16_bom_fix"
ramonpin commented 12 years ago

Thx Stan... really a great work with this gem.

El 02/11/2011 14:43, Stan Chang Khin Boon escribió:

I had fork a branch @ http://github.com/lxcid/ntlm-http that is bundler friendly.

Just have the following line on your Gemfile

 gem "pyu-ntlm-http", :git =>  "git://github.com/lxcid/ntlm-http.git", :branch =>"1.9_utf16_bom_fix"
unimatrixZxero commented 12 years ago

Stan's fix worked fine for me too. THX

mmmries commented 11 years ago

This fix worked for me on jruby-1.7.0 and mri-1.9.3-p286. I'm pointing to the fork mentioned above until this gets merged and released to the gem.