CGI request query string parsing error in Rails

Empty query params are handled gracefully (ignored) in 1.2 - give Edge a try.


Yes, we know what you're talking about. In reality, the "&" is before
the *second* param, as the first one is empty/missing.


Right. By empty param we mean query_string.split(’&’).map { |pair| key, value = pair.split(’=’) } parses ‘&a=1&b=2’ as [[nil, nil], [‘a’, ‘1’], [‘b’, ‘2’]]. Rails 1.2 ignores the first param whereas 1.1 tries to make sense of it and fails.