General

Profile

dgames (Dax Games)

  • Login: dgames
  • Registered on: 10/30/2017
  • Last sign in: 12/28/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

11/02/2017

02:35 PM Ruby Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
nobu (Nobuyoshi Nakada) wrote:
> When what must fail don't fail, we call it a bug.
I'm sorry I do not understand. Maybe I wasn't clear, Node is doing EXACTLY what you say Ruby should do and works where Ruby fails when it does EXAC...
dgames (Dax Games)
12:34 PM Ruby Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
nobu (Nobuyoshi Nakada) wrote:
> As far as the standard specs prohibit the duplicate header, we can't change the correct behavior and violate the standards.
> ...
Node is passing a single header with an array of values as Ruby tries to...
dgames (Dax Games)

11/01/2017

05:52 PM Ruby Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
I found the code that is actually causing the issue I was wrong before. The actual code is in: `class Net::HTTPGenericRequest`
```ruby
def write_header(sock, ver, path)
reqline = "#{@method} #{path} HTTP/#{ver}"
if /[\r\...
dgames (Dax Games)
04:07 PM Ruby Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
Thanks all for the responses.
Unfortunately I do not have the capability to ''fix ' the server and a header similar to the header resulting from my 2nd and 3rd failed examples works in a nodejs sample app but not in Ruby. Where the h...
dgames (Dax Games)

10/31/2017

03:42 PM Ruby Bug #14071 (Third Party's Issue): HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
Not sure if this is a bug or not but I know where it was introduced and when it worked.
ruby 2.3.1p112 (Code Works)
ruby 2.3.4p301 (Code Works)
ruby 2.3.5p376 (Code Fails)
ruby 2.4.1p111 (Code Works)
ruby 2.4.2p198 (Code Fails)
...
dgames (Dax Games)

Also available in: Atom