Skip to content
  • Thong Kuah's avatar
    Frozen string cannot change encoding · d4ef3be3
    Thong Kuah authored
    This was shown in specs but surely this will be happening in application
    code as well if this method is passes a frozen string.
    
    We were also trying to force_encode a OmniAuth::AuthHash which had the
    very confusing behaviour of returning nil when it was sent a method that
    it did not define. Fix that by only force_encoding a String.
    d4ef3be3